开发者

getting name of next post in tumblr

开发者 https://www.devze.com 2023-01-24 10:58 出处:网络
I\'m making a custom tumblr theme. I\'m displaying one post per开发者_运维百科 page. How can I get the title of the next page.

I'm making a custom tumblr theme. I'm displaying one post per开发者_运维百科 page. How can I get the title of the next page.

For example, when using pagination:

  {block:Pagination}
  {block:NextPage} <a href="{NextPage}" class="nav">Next &#187;</a>  {/block:NextPage}
  {/block:Pagination}

This will create a link as such Next » whereas I want the link to be as such name of next post »

Anybody have any ideas? Cheers.


I think you'll need to use the Tumblr API. You can check it our at [http://www.tumblr.com/api] - be warned though, you'll need some knowledge of jQuery or javascript 1

0

精彩评论

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