Sep
Recent Posts Plugin
I finally decided to add a Recent Post Plugin to my blog. You will see it in the sidebar below the Top Commentators.
Only the Recent Post Plugin I added is not really a plugin at all. No downloads involved. No uploaded files or manipulating funny codes. Just copy and paste the code from this wordpress recent plugin page into your sidebar.php, and that’s it. All done. It was the simplest add-on I’ve ever done.
The only issue with this add-on is it also includes recent pages added. I rarely, if ever, create new pages so this isn’t a problem for me.



Cool
Hey,
If you want it to display only posts you change the 12th line from $sql .= “WHERE $tableposts.post_date <= ‘$now’ AND ( $tableposts.post_status = ‘publish’ “;
to $sql .= “WHERE $tableposts.post_date <= ‘$now’ AND $tableposts.post_type = ‘post’ AND ( $tableposts.post_status = ‘publish’ “;
Looks good.