This is a handy bit of code for displaying different content based on what category your post is in. Useful on the single.php page I found – can display different…
Published June 23rd, 2012 by gillianmc
In this instance I want to only list the sub pages of the category 73 for a subnavigation on a custom page
Published June 23rd, 2012 by gillianmc
Sample of a query post below – this one will show 3 posts from the category called events. You can also use cat=7 and use the id of the category…