WordPress置顶文章类名标签:sticky_class

WordPress模板标签sticky_class用于在The Loop主循环中,如果文章为置顶状态时,则输出类名:sticky,以便于为置顶文章设置特殊样式。 sticky_class( int $post_id = null ) 函数参数$ …

WordPress获取上一个图像标签:previous_image_link

WordPress模板标签previous_image_link用于在附件页面输出上一个图像的链接。 previous_image_link( string $size = 'thumbnail', string $text = false ) 函数参数$size 数组或字符串值,默认值:thumbnail …

WordPress获取下一个图像标签:next_image_link

WordPress模板标签next_image_link用于在附件页面输出下一个图像的链接。 next_image_link( string $size = 'thumbnail', string $text = false ) 函数参数$size 数组或字符串值,默认值:thumbnail 图像的尺 …

WordPress分类归档上一页标签:previous_posts_link

WordPress模板标签previous_posts_link用于在分类、标签、日期等归档页输出上一页链接,需要注意是用在The Loop主循环之外。 previous_posts_link( string $label = null ) 函数参数$labe …

WordPress获取上一篇文章标签:previous_post_link

WordPress模板标签previous_post_link用于在文章页输出上一篇文章链接,需要用在The Loop主循环。 previous_post_link( string $format = '« %link', string $link = '%title', boolean $in_same_term = false, string|array $excluded_terms = '', string $taxonomy = 'category' ) 函数参数$ …

WordPress分类归档下一页标签:next_posts_link

WordPress模板标签next_posts_link用于在分类、标签、日期等归档页输出下一页链接,需要注意是用在The Loop主循环之外。 next_posts_link( string $label = null, integer $max_page = 0 ) 函数参数$labe …

WordPress获取下一篇文章标签:next_post_link

WordPress模板标签next_post_link用于在文章页面输出时间顺序上的下一篇文章链接,需要用在The Loop主循环。 next_post_link( string $format = '%link »', string $link = '%title', boolean $in_same_term = false, string|array $excluded_terms = '', string $taxonomy = 'category' ) 函数 …

WordPress翻页导航标签:posts_nav_link

WordPress模板标签posts_nav_link用于在分类、标签、日期等归档页显示上一页、下一页翻页导航。 posts_nav_link( string $sep = '', string $prelabel = '', string $nxtlabel = '' ) 函数参数$sep 字符串值,默认值:“ — ” …

WordPress文章内容分页标签:wp_link_pages

WordPress模板标签wp_link_pages用于输出文章内容翻页,需要在文章内容中插入<!–nextpage–>标签。 wp_link_pages( array|string $args = '' ) 函数参数$args数组或字符串 …

WordPress输出RSS文章摘要标签:the_excerpt_rss

WordPress模板标签the_excerpt_rss用于输出RSS格式化的文章摘要,需要用在The Loop主循环里。如果当前文章有填写“摘要”,the_excerpt_rss( …