摘要:
原文地址:http://www.phpvar.com/archives/2316.html网上找到一篇介绍WordPress的have_posts()和the_post()用法解析的文章,觉得不错!在WordPress的index.php文章循环输出中,通常会有下面一段代码: 这里有两个函数,have_posts()和the_post()。have_posts()解析:WordPress的have_posts() 默认是一个全局函数。have_posts函数被调用时实际上是调用全局变量$wp_query->have_posts()成员函数,来简单检查一个全... 阅读全文
posted @ 2014-02-16 13:54
KoMiles
阅读(17724)
评论(0)
推荐(0)

浙公网安备 33010602011771号