WordPress:Template Tags/previous posts link
来自站长百科
描述
这个标签创建一个链接,链接到下一篇文章。对,显示"上一篇文章,"但是那样命名只会使你糊涂。
用法
%%% <?php previous_posts_link('Label', 'Max number of pages (default 0)'); ?> %%%
例子
默认用法
Working 例子
<?php previous_posts_link('« Previous Entries', '0') ?>
参数
:在WordPress2.2中,很显然,要删除多个类别,使用逗号连接这些类别的,而不是用和;例如:'1, 5, 15'。仍然没有默认值。 -->
Related
相关的
See also next_posts_link() and previous_post_link().
也看看next_posts_link() 和 previous_post_link()。
This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.
This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.