How to Show Recent Posts by Category in WordPress



Have you wanted to showcase your recent posts from each category in your widget area? There are a few ways to show these depending on how you would want to show this. In this video, we will show you how to show recent posts by category in your WordPress sidebar.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
http://www.wpbeginner.com/wp-tutorials/how-to-show-recent-posts-by-category-in-wordpress/

Check us out on Facebook:
https://www.facebook.com/wpbeginner

Follow us on Twitter:
http://twitter.com/wpbeginner

Join our circle on Google+:
https://plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this Tutorial:

The first method is using a plugin.

Start by installing and activating the Category Posts Widget plugin.

Go to Appearance, Widgets and drag and drop the category post widget where you would want it to go.

From here you can set a title, choose the category, the number of posts to show, and other options.

Customize it how you would like and then save to see it in action.

The second way would be to add some code to your functions.php file.

Backup your site then add the code to your functions.php and change the code to your specific category.

You will likely want to add some CSS to style it how you would like.

Related Links:

Category Posts Widget

https://wordpress.org/plugins/category-posts/

3 Comments - Add Comment

Reply