WordPress query_posts Parameters

Follow @tristarweb

Gary (in the comments) has linked to the WP_Query function, where all the parameters for query_posts can be found – WP_Query. I have removed the list from here.

Someone seems to have edited the codex page for WordPress’ query_posts function. I don’t know about you guys, but that was one of the most common pages I looked at on the WordPress Codex, and the new page seems to have stripped out all the useful parameters. As such, I have recompiled the majority of them here by visiting the Wayback Machine. If anyone has any issues with this, do let me know.

About James

Hello there, I'm James. I studied Music Technology at university and gained a BA Hons in Music Technology and Innovation. I really enjoyed studio engineering and MaxMSP (a programming language for synthesisers). This inspired me to move into programming.I now specialise in front end development and bespoke Wordpress powered websites.

2 Responses to WordPress query_posts Parameters

  1. GaryJ says:

    08:35 14/05/2011

    http://codex.wordpress.org/Function_Reference/WP_Query#Parameters might be what you’re looking for.

  2. Tristar Author

    So it is, any ideas why they took it off query_posts?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please wrap all source code with [code][/code] tags.

Follow Tristar on Twitter