I want to place manually the next and previous posts navigation. So for that I need the url of next and previous posts.
我想手动放置下一个和上一个帖子导航。因此,我需要下一篇和之前的帖子的网址。
<<a href="#"> </a>
>`
<< a href =“#”> >`
What code should I use in above anchor tab to point next or previous post.
我应该在上面的锚点选项卡中使用什么代码指向下一个或上一个帖子。
1 个解决方案
#1
0
Search for this line in template: <b:includable id='nextprev'>...</b:includable>
. All the necessary code are inside this includable.
在模板中搜索此行:
Next link: <a expr:href='data:newerPageUrl'><data:newerPageTitle/></a>
Previous link: <a expr:href='data:olderPageUrl'><data:olderPageTitle/></a>
Link to full version of blog (from mobile template): <a expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>
#1
0
Search for this line in template: <b:includable id='nextprev'>...</b:includable>
. All the necessary code are inside this includable.
在模板中搜索此行:
Next link: <a expr:href='data:newerPageUrl'><data:newerPageTitle/></a>
Previous link: <a expr:href='data:olderPageUrl'><data:olderPageTitle/></a>
Link to full version of blog (from mobile template): <a expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>