How to Display Recent Posts From A Specific Category In WordPress

Are you looking for a way to display the most recent posts in a specific category on your WordPress website?  By default you can already add your categories to your menu item or a list of all your categories on your sidebar area and I’ll quickly show you how to do that.

From the dashboard head over to Appearance->Menus area

and you want to make sure that you’re on your main menu that you’re working on, we’ll scroll down, we’re looking for our categories area. From here choose the categories that you want to add to your menu and select them. Down here let’s click  Add to Menu

and now you see them. Here you see that it’s even that category and we can expand this

and from here you can change the navigation label and what it will say up on your menu.

When you have everything on your menu that you want click Save menu.

Now when you go to your website you see the new category menu items.

Now if you want to only show specific most recent posts then we’ll need to do something a little bit different. So let’s head back over to our WordPress dashboard and we need to go to our Plugins, Add New.

We’re looking for a recent posts widget extended plugin, this is the one we want. So let’s go ahead and install that

and once it’s installed let’s go ahead and activate it.

now that it’s activated we’ll head back over to our Widgets area.

Let’s remove the old categories widget

and we’re looking for the recent posts extended. I’m going to left-click drag this up to my sidebar,

From here you can do the most recent posts, you can fill all of this out and you want to click on posts.

There are different ways that you can order by and here’s the limit by category so these are the categories that you want to limit it to.

There’s the category we’ve been working with and now we can click Save.

Now we head over to our site to see what it looks like and you see there are the most recent five in the edge case category and now I have the most recent posts for my website.

 

 

Читайте также:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *