WordPress:Template Tags/next posts link

来自站长百科
Fludlen讨论 | 贡献2008年7月5日 (六) 17:31的版本
跳转至: 导航、​ 搜索

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()


模板:PHP Function Tag Footer

This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.

模板:PHP函数标签 页底文字

This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.