Warning: Trying to access array offset on false in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 216
next_post() - 打印下一篇文章的链接 - WordPress函数 - WordPress动力
当前浏览:首页 / WordPress函数 / 已废弃 / next_post()

警告: 此函数已被弃用,请使用 next_post_link() 替代。

next_post( string $format = '%', string $next = 'next post: ', string $title = 'yes', string $in_same_cat = 'no', int $limitnext = 1, string $excluded_categories = '' )

打印下一篇文章的链接


Warning: Undefined array key -1 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 185

Warning: Undefined array key 2 in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference-cat.php on line 186

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "a2aed7a81afea33ee837f1c18e79d0da" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

Warning: Undefined variable $searchand in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 154

Warning: Undefined array key "c662a3ca6b84e8f01cc3765430bbe052" in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/wp.php on line 223

next 下一...

postmore...


描述

另见


参数

$format

(string) (可选)

默认值: '%'

$next

(string) (可选)

默认值: 'next post: '

$title

(string) (可选)

默认值: 'yes'

$in_same_cat

(string) (可选)

默认值: 'no'

$limitnext

(int) (可选)

默认值: 1

$excluded_categories

(string) (可选)

默认值: ''



源码

查看源码 官方文档


更新日志

版本描述
2.0.0使用next_post_link()
0.71开始引入

Warning: Undefined variable $o in /www/wwwroot/www.wpdongli.com/wp-content/themes/WPdongli/functions/reference.php on line 194