开发者

How would I get a Tumblr theme I'm making to automatically generate a tab for each post?

开发者 https://www.devze.com 2023-02-01 07:41 出处:网络
Roseannebarr.tumblr.com I have a theme I am working on and it is a theme with sliding tabs. Obviously I can put post tags in each div fo开发者_Python百科r the slider link BUT that will put ALL types

Roseannebarr.tumblr.com

I have a theme I am working on and it is a theme with sliding tabs. Obviously I can put post tags in each div fo开发者_Python百科r the slider link BUT that will put ALL types of that post in that div. So if I put {block:Photo} in there then it would put all photo posts in that div. What I want it to do is post each post separately by generating a new link for each post.

P.s: image src is only because I am a new user.

Cant post the code, here it is.

http://roseanneconner.tumblr.com/post/2509329345


If I understand you correctly, you'll have to use the Tumblr API (with either JSON or XML) to grab the posts and redisplay them individually. To get an idea of when (and how) to use the API with JSON, you can check out one of my themes at elegantem.tumblr.com using the "sort posts" feature in the sidebar.

0

精彩评论

暂无评论...
验证码 换一张
取 消