Tag Archives: have_posts

Query posts in WordPress

Description: Querying through the posts can be useful for creating special container pages. Returning the posts you require is only a matter of using the right attributes. Solution: A query in WordPress looks like a series of GET variables: query_posts(‘posts_per_page=-1&cat=’.7.’&orderby=title&order=ASC’) … Continue reading

Posted in Wordpress | Tagged , , , , , | Leave a comment