如何使 Wordpress 页面像显示多个帖子的默认主页一样? [英] How do I make a Wordpress Page act like the default home page displaying multiple posts?
本文介绍了如何使 Wordpress 页面像显示多个帖子的默认主页一样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我基本上想要一个 Wordpress页面",它的作用就像主页一样,循环浏览最近的帖子并显示它们.我该怎么做?
I basically want a Wordpress "Page" that acts just like the home page and loops through recent posts and displays them. How do I do this?
推荐答案
使用 wordpress 循环,但您可以使用 query_posts()
Use the wordpress loop, but you can control which posts show up in the loop using query_posts()
http://codex.wordpress.org/Template_Tags/query_posts
这篇关于如何使 Wordpress 页面像显示多个帖子的默认主页一样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文