WordPress:Template Tags/next posts link
来自站长百科
Description
描述
This creates a link to the previous posts. Yes, it says "next posts," but it's named that just to confuse you.
这个标签创建一个链接,链接到前一篇文章。对,显示"下一篇文章,"但是那样命名只会使你糊涂。
Usage
用法
%%% <?php next_posts_link('Label', 'Max number of pages (default 0)'); ?> %%%
%%% <?php next_posts_link('Label', 'Max number of pages (default 0)'); ?> %%%
Examples
Default Usage
例子
默认用法
Working example
Working 例子
<?php next_posts_link('Next Entries »', '0') ?>
<?php next_posts_link('Next Entries »', '0') ?>
Parameters
参数
:在WordPress2.2中,很显然,要删除多个类别,使用逗号连接这些类别的,而不是用和;例如:'1, 5, 15'。仍然没有默认值。 -->
Related
相关的
See also next_post_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.