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 …

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

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

微信公众号开发PHP示例

最近开发一个公众号的小脚本,在开发的过程中遇到一些问题,原本都是小问题,只因官方文档不够详细(对于小白来说需要更细致的文档说明),折腾了不少时间。 获取access token首先写一 …