Yes,You can do it by
if(is_category()) {
wp_nav_menu( array(
'theme_location' => 'menu-97226',
'walker' => new Menu_Walker_97226()
) );
}
while calling menu in header file.
Related Posts:
- Moving Categories submenu to Media, but still opens Posts menu
- Category menu item and its last 10 posts as sub-menu
- Add Product categories to WordPress menu without losing hierarchy
- category permalinks
- How to create a subcategory to a PAGE on WP?
- Give Children Unique ID’s
- Show parent categories and sub categories but not grand children categories
- wp_list_pages() not showing on posts
- How to add all subcategories as submenu in WordPress menu
- Show custom menu in category and its posts
- How would I get a taxonomy/category list inside a Gutenberg block?
- Reflect nested categories in appearance > menus
- Excluding posts from a category but only if they’re not in multiple categories
- How to show posts of an columnized different categories on the same line or row?
- Echo one category as title when post has multiple categories?
- I use same slug name for category and page
- Showing all the posts in one page?
- On Category page, How can I get the category ID?
- How to order categories in Woocommerce that are spread over multiple pages? [closed]
- Order Taxonomy Term by date created
- How do I display the posts from a custom post type on a category.php page?
- Automatically add product_categories to nav_menu
- Can paginate_links() be customized for a specific category or tag?
- How to set up Author archives with sub category URL
- How to change number of items on add new pluggins page from backend?
- How to display posts under a specific subcategory of a given category
- Ignoring a category in WP_Query still shows the links in next_post_link()?
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- How can I duplicate categories and tags?
- Can you pre-check wordpress categories?
- If posts category is “cars”, display image
- query in category.php repeats itself
- Subcategories with the same name
- How can I add more “filters” to my products? (Categories, attributes, etc.)
- Removing post category base giving Error 404
- How to “group” (categorize) the Pages together?
- Is There a Difference Between Taxonomies and Categories?
- Custom Walker for wp_list_categories
- Related Tags not in category
- How do I display only two categories Instead of displaying all categories
- Hooking to walker_nav_menu_start_el to insert list of subpages
- Show the latest post from child category?
- How to show a list of only categories (exclude subcategories)
- How to list categories in reverse alphabetical order?
- I want to show category name when using [category] shortcode
- Category list with postcount
- How to add categories on a page [duplicate]
- How to hide some categories in dashboard
- How to choose the content from a post which is in the right category?
- How to display product with two condition, category and brand taxonomy
- Getting the first parent of a hierarchical term
- How to get category id’s which are added in main menu?
- Include either name or slug in the include parameter using wp_list_categories?
- get cat id is not working from custom taxonomy
- Natural sort / ordering wp_dropdown_categories
- Make wp_dropdown_categories into a variable that persists until changed?
- show category in woocommerce
- Can I define multiple paginations on a single page?
- Best way to categorize/populate a magazine style layout
- Mass Update User Profile Checkbox Options
- Category sticky latest
- How can I exclude a category from the main loop with the category name & not ID?
- how to remove alphabetical order of category in WordPress?
- Automatically adding tags and categories into Post Excerpt for searching
- How to list posts from a sub-category that is listed in a parent category (more details below)?
- How can i add service category here? [duplicate]
- How to exit out of delete_categories and stop action?
- How to check parent & child category
- Meta Query | Compare category name and meta value
- How to filter tags by category?
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- How Can I Display the Category Description in a Theme with no Category.php or Archive.php?
- How do I merge WooCommerce categories with the same name?
- Custom get_the_password_form
- How to hide/remove featured images in particular categories post?
- In ACF, how to show custom category selection tab upon selecting a main category
- WooCommerce – Get products from category right before deleting category
- omit categories from main navigation menu
- How to test if the post is in a primary category
- How to relocate images
- Category next page link not working
- How to display the past events in one of the category?
- Category archives
- Category For Pages In WordPress
- Inserting categories as a hierarchical terms from frontend form
- category__and works, but why?
- Page Type with Category Link
- Using wp_list_pages to create 2 lists of pages and include and exclude some of them depending on their category
- Own Custom Tags/Category page ( posts)
- How to create default categories in new installs?
- If I change the taxonomy of a post will it get a new time stamp?
- Check if value is a custom taxonomy category name
- Tracking multiple tags or categories
- How do I add and display a custom image field to a category? [duplicate]
- Display post of current parent category, and in right hand side show child category post
- Category pagination not working in category.php please help me
- Print the associated categories of the current post starting with parent (with option to remove href)
- Add category image before post title on homepage
- completely confused with archive.php, category.php
- Restricted category in Woocommerce [closed]