[wp-hackers] $single

Matt Mullenweg m at mullenweg.com
Wed Jun 16 05:59:42 UTC 2004


Hadley Wickham wrote:

> This would make it easy (for example) to create a page which listed the 
> titles of posts in a given category, without having to copy and paste 
> swathes of code.  It would also make it easier to cache posts.
> 
> Or is there currently a better way to do this?

Check out query_posts() and its homely cousin get_posts().

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...




More information about the hackers mailing list