Displaying recent posts on your blog helps users to visit them easily and allows you to decrease bounce rate of your blog. You can easily display recent post on your WordPress blog in no time and that too without using any WordPress plugin.
All you have to do is to paste the code in template file of your choice. The list format is mostly used in sidebars of WordPress pages like archives.
<?php get_archives(‘postbypost’, ’10’, ‘custom’, ‘<li>’, ‘</li>’); ?>
You can easily change the number 10 to any number of posts you want to display.
Isn’t it a great tip which allows you to display recent post in list format? Like this tip, then share it with your friends and do not forget to follow WebGuide4U on Twitter for more tips on WordPress.
Leave a Reply