The more I use WordPress and muck about with its functions and plugins; the more I love it. I decided I wanted to have a page that showed posts from a specific category and only those posts. It turns out there are a number of ways to do that. You can create a caterory-xx.php file, which will be used whenever someone asks to display the category with id xx. That was cool but the category was still in the category list and I didn’t want that. No problem just exclude the category in the category widget. Awesome, but the posts in that category still show in the Recent Posts list. Hmm, no way to exclude posts from a particular category with the default recent post widget. After a little searching I found an improved recent post plugin which just replaces the default widget and offers a ton of options. If you have already checked out Recent Posts, I highly recommend it. So, in the end, I have a page which shows posts from a single category, where the category does not appear in the listing, and the posts don’t show in the recent post list. It’s like a blog within a blog. Now I’ll work on customizing it with its own header, sidebars, and footer.
I <3 WordPress
by
Tags: