首页 WordPress函数大全 next_post()

next_post()

2020-05-02 / 2592阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

警告:此功能已被弃用。请改用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 = '' )

打印到下一篇文章的链接。

描述

See also See also

  • next_post_link()

Top ↑

参数

$format

(string)
(Optional)

Default value: '%'

$next

(string)
(Optional)

Default value: 'next post: '

$title

(string)
(Optional)

Default value: 'yes'

$in_same_cat

(string)
(Optional)

Default value: 'no'

$limitnext

(int)
(Optional)

Default value: 1

$excluded_categories

(string)
(Optional)

Default value: ''

大家谈论
    我的见解