Adding excerpts to Pages

By the Web Warlock, Wednesday, 28/Jul/2010 3:47

To add excerpts to Pages, from 3.0 on you just need to add the support for the excerpt feature for the page post type with add_post_type_support called in the init hook.

How to display multiple parentage in a category template

By the Web Warlock, Friday, 14/May/2010 9:44

To display all the posts that belong to a category and include multiple parentage (that is, display also the posts that belong to a meta-children term), we'll have to redo a bit the query of The Loop. What we'll do is retrieve all the children of the queried term, and use the list of ids [...]