I’m not very familiar with PHP so I’m really struggling with this. I have a category called students-of-the-month with an id of 5. I’d like to have one page on my wordpress site that displays only the most recent post from that category. How can I do this?
Share
I ended up doing it differently. I found this page: http://codex.wordpress.org/Template_Hierarchy
On the page it said this: category-{slug}.php – If the category’s slug were news, WordPress would look for category-news.php
This would let me use that page to display any posts in the student of the month category. I’d just program that page to only display the most recent. As for the nav problem, I ended using the “Page Links To” plugin. Thanks for the tips though, they sent me in the correct direction!