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( …

WordPress输出文章摘要标签:the_excerpt

WordPress模板标签the_excerpt用于输出文章的摘要,需要用在The Loop主循环。如果当前文章有填写“摘要”,the_excerpt()函数输出这个摘要内容,否则自 …

WordPress输出RSS文章内容标签:the_content_rss

WordPress模板标签the_content_rss用于输出RSS格式化的文章内容,需要用在The Loop循环里。该函数已经废弃,可能会在未来的WordPress版本中删除,不 …

WordPress输出文章内容标签:the_content

WordPress模板标签the_content用于输出文章内容,需要用在The Loop主循环。 the_content( string $more_link_text = null, bool $strip_teaser = false ) 函数参数$more_link_text 字符串值,默认为空 当使用M …

WordPress文章页输出文章标题标签:single_post_title

WordPress模板标签single_post_title用于输出当前文章的标题,需要用在The Loop主循环里。 single_post_title( string $prefix = '', boolean $display = true ) 函数参数$prefix 字符串值,默认为空 在文 …

WordPress输出当前文章标题标签:the_title_attribute

WordPress模板标签the_title_attribute用于输出当前文章的标题,和the_title()相似,但the_title_attribute()去除了标题中的HT …

WordPress在RSS页面输出文章标题标签:the_title_rss

WordPress模板标签the_title_rss用于RSS页面输出文章标题,一般用在The Loo主循环。 the_title_rss() 使用示例<item> <title><?php the_title_rss(); ?></title> </item> 扩展阅读the_title_r …