How to make new sidebar

I am using hidden categories to display blog posts only related to that category, So that I post to that category, but the post remains hidden unless you clock on a link on a page.
However when you do click a link you see all the posts in that category, but the main sidebar shows the overall posts n the main blog, and not the posts in the hidden category.
So my question is can I make the posts in the hidden category show, and only have the sidebar of recent posts for that particular category? Instead of ll recent posts showing?

Hi @garyf,

I hope you are well today and thank you for your question.

Your question seems a bit confusing so could you please describe it a bit more in detail by sharing the screenshots of it and page URL where it is displaying so that i can help you?

Best Regards,

Well here’s a look at one category post, recipes.
The category is hidden, so you can only see the post is you click on the link to the category called Recipes.
However, if you notice the recent posts widget is displaying posts from the main timeline.

If I don’t hide the category, all the posts from recipes and the timeline get mixed up and I don’t want that.

What I want is only the posts from the category ‘recipes’ to show in the widget when you are viewing the category ‘recipes’. When you go back to the main page, then I want the main recent posts to show in the widget?

So I’m trying to find a way that the recent posts widget will only show recent posts from the category that is being viewed, not from the main page or timeline.

You have to develop custom code to achieve this.

Developing custom code for custom functionality is beyond the scope of support that we provide here.

If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Colorlib recommends the developer

Ahh I thought that might be the case but wasn’t sure. Thanks anyway

You are most welcome here :slight_smile: