i want to put 5 0r 10 recent posts from specific categories on certain pages throughout my site.
i have looked over the various topics for “recent posts” and while it seems that using archives is the best way, the only result i get from adding the code
<?php get_archives('postbypost','20','html'); ? >
to my side bar is a long list of all the entries in all the categories. how do i know what the ’20’ and ‘html’ additions mean in this application?
how can i call all the posts from the archives in category 20 in the sidebar of a given page?
is there a simple answer for this?
- The topic ‘recent posts by category?’ is closed to new replies.