WordPress弹出评论脚本标签:comments_popup_script

WordPress模板标签comments_popup_script用于输出支持弹出评论的JS脚本,可以使comments_popup_link()输出的链接实现弹出窗口中评论,通 …

WordPress评论RSS链接标签:comments_rss_link

WordPress模板标签comments_rss_link用于输出当前文章评论的RSS链接,不同于comments_link(),comments_rss_link()输出的是一 …

WordPress评论链接标签:comments_link

WordPress模板标签comments_link用于输出评论链接,点击该链接可以跳转到当前文章的评论区域,必须用在The Loop主循环中。 该函数没有参数,直接调用即可。 函数使用 …

WordPress文章评论数量标签:comments_number

WordPress模板标签comments_number用于输出当前文章的评论数量,必须用在The Loop主循环中。 comments_number( string $zero = false, string $one = false, string $more = false ) 函数参数$zero 字符串值,默认值: …

WordPress自定义文章字段标签:the_meta

WordPress模板标签the_meta用于输出文章自定义字段,必须用在The Loop主循环中。 the_meta() 该函数没有参数,以无序列表的方式输出文章自定义字段。 函数使用示例<?php …

WordPress获取文章Tag标签:the_tags

WordPress模板标签the_tags用于在文章页输出标签链接,必须用在The Loop主循环中。 the_tags( string $before = null, string $sep = ', ', string $after = '' ) 函数参数$before 字符串值,默认值:null 在 …

WordPress输出RSS格式分类标签:the_category_rss

WordPress模板标签the_category_rss用于输出RSS格式的分类,必须用在The Loop主循环中。 the_category_rss( string $type = null ) 函数参数$type 字符串值,默认值:rss2 RSS的 …

WordPress获取文章分类标签:the_category

WordPress模板标签the_category用于在文章页或归档页的文章列表中输出当前文章所属分类,即使有多个分类也会一并输出。 the_category( string $separator = '', string $parents = '', int $post_id = false ) 函数参数$separ …

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 …