After set up WordPress blog, Everyone want to make beautifull blog with lot of information, like add a widgets, add social follow box, show facebook fan page and twitter updates. Have you ever think about to show recent post in sidebar? so that visitor can find new post from there. You can show Recent post in sidebar with out add any plugins. Put that code in sidebar of blog which given blow or where you want to show. However you can show at footer too like recent post or popular post.
1. Display the latest 10 posts:
<ul><?php wp_get_archives(‘type=postbypost&limit=10’); ?></ul>
2. Display an archive of the last 6 months:
<ul><?php wp_get_archives(‘type=monthly&limit=6’); ?></ul>