List posts from twp specific category in sidebar.php
-
I don’t know why I am having so many problems with this — especially since I see so many posts about it. I am trying to list the most recent post titles from two categories in my sidebar.php. I have tried adding <?php query_posts(‘cat=1&showposts=10’); ?> but nothing appears, even though I have a category that matches that ID.
Two simple lists, one from each category…both appearing in the sidebar… what am I so obviously missing? Some additional PHP from the loop?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘List posts from twp specific category in sidebar.php’ is closed to new replies.