How can I make that when I clic on one of the menu items, that page shows only posts with the same category?

I have a blog wordpress in localhost. What I want to know before uploading is if it is possible to show just posts with a certain category in an specific page. I mean, to show category articles "cats", for example, in the "cats" page in the menu.

Solutions

Almost any WP theme will include category archives. If you want to add them to a menu, go to Appearance/Menus, select the Menu you want to edit, and pick the Category you want from the Categories menu to the left. How the Category "page" or archive displays will in turn be determined by your theme template, though a developer can also customize a specific Category template to show anything you want virtually any way that you want.

Similar questions

enqueue script during add menu items means before save menu items
I'm extended the Walker_Nav_Menu_Edit class and added some new custom fields based on some jQuery plugins like (wpColorPicker, fonIconPicker, and Select2). I'm called these functions from different js file like below Then I enqueued this js file over my Wordpress admin area by using admin_enqueue_scripts action. When I add new menu item from Custom...
What is the hook to remove a menu items group from Appearance > Menus column Add menu items
I want to remove the Posts menu items group from the Add menu items column in nav-menus.php screen. I tried unregister_post_type('post'); but found out that built-in types cannot be removed. What is the hook to get this done?
Wordpress css menu replication - menu items and items in dropdowns shifted to the right
I need to copy a menu from this wordpress installation http://bit.ly/rrWFMH into some non-wordpress php pages. I moved the menu code to http://bit.ly/vcUn1s . At first I used the original wordpress CSS file and it worked without problems. However, after stripping that css file down I got working menu, but for some reason menu items and items in dro...
Wordpress Menu: Menu items are added by latest items first
Good Day I am using a wordpress theme, and theme is adding menu items and ignores the Wordpress menu editor. The way it adds menu's is like this: It adds all pages to the menu, and in the order you add the page - So if you want the first menu item to be last, you have to delete its page, and add it again - then it will appear as the last menu item....
Wordpress removes my menu items if above the Limit of 90 menu items -
I want to add more item in my menu I've a menu that contains at least 90 item in wordPress menus (administration), I want to add more and I found that others are removed automatically. Any solution?
How to get Menu items and sub menu items Separately
in my wordpress site i'm customizing a menu. there for i used this code to get all menu item This code prints all the menu item and sub menu item one by one like this `<ul> <li>Menu Item</li> <li>Menu Item</li> <li>Drinks</li> <li>Sub menu item</li> <li>...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.