Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Blog posts on page template… how to?


Boone Gorges
Keymaster

@boonebgorges

Whenever you want to have multiple loops on a page, you’ll have to define your own WP_Query. Here’s a good tutorial: http://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/

It sounds like the key in your case will be ‘post_type=post’.

See this codex article https://codex.wordpress.org/Template_Tags/query_posts for info on what arguments you can feed to WP_Query (they are the same as query_posts() )

Skip to toolbar