Tag Archives: posts_per_page

WordPress proper query_posts with real results

Description: WordPress query_posts() function is pretty powerful, and easy to read out. However, you need to know what you’re querying for, as very often the results are not the expected ones. The specific post meta query is covered here. Solution: … Continue reading

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

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