WordPress:Template Tags/previous posts link

来自站长百科
Xxf3325讨论 | 贡献2008年7月16日 (三) 11:37的版本
跳转至: 导航、​ 搜索

描述

这个标签创建一个链接,链接到下一篇文章。对,显示"上一篇文章,"但是那样命名只会使你糊涂。

用法

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

模板: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.