WordPress Plugin : Customizable Post Listings
The best thing about WordPress is that its functionality can be increased by the use of various plugins that are available all over the internet. I was looking for a plugin that can display Recent Entries from a specific category in the sidebar , that when i came across it.
Customizable Post Listings is a plugin by Scott Reilly that can display Recent Posts , Recent commented posts , Random posts etc in a customizable manner . The best thing is that the post searches can be narrowed by using Category , Author and stuff.
Installation and Use
- Download the plugin and unzip it into your plugins directory
- Activate the plugin from the WordPress plugin page
- You can modify the options according to your likes in the plugin editor
- You can use the following codes to dispaly the relevent thing
To display Recent Postsuse <?php c2c_get_recent_posts(3); ?>where 3 is the number of posts to be displayed
To display Recently commneted posts use <?php c2c_get_recently_commented(3); ?>
There are a lot of functions which you can use and customize according to your needs.