If i understand correctly, a quick solution could be using something like Widget Logic and create a custom menu for each category, then use whatever Conditional Tags applies.// such as is_category()
or in_category( '5' )
Or, if you don’t want to use a plug-in, you could try duplicating the widget and then adding the conditional tag there… hope that helps!
Related Posts:
- Where to put my code: plugin or functions.php?
- Custom Post Type Data in Sidebar widgets?
- Including Custom Post Types in “Recent Posts” Widget
- Custom page sidebar using Template dropdown box
- Random image from tag/custom type on sidebar
- Methods for development wordpress themes [closed]
- Replace Content of Sidebar on Custom Post Type
- How do I get the posts from single page custom post type from a sidebar to display in a page?
- How to display value of custom fields in page
- Custom post type single-{custom}.php not working
- Mini-Site Strategy
- How can I fix those issues generated by the Themecheck plugin
- Why is get_post_format() for “Standard” returns empty
- Custom Post Type Archive URL takes over page URL
- Password-protect a custom rss feed
- Custom post type archive sorted and grouped by date in post meta field
- How do I display the “Archives” widget layout (sidebar) in WordPress by ‘year’ then by ‘months’?
- How to retrieve custom field types for all posts in WordPress/PHP?
- adding .current* tags to custom post types and taxonomies
- How to create another version of the Category widget?
- Page as a child of a Custom Post Type
- Why is archive.php used for my page
- Display custom post data in sidebar w/ dropdown
- searchform.php override not working
- ACF simple text field value not showing
- What’s the difference between same wp functions get_posts(); functions in different form?
- How to create Blog Post Specific Widget
- How to make this menu drop down or like accordion
- Help need making decision. Ads rotating site on wordpress
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- JS innerhtml changing style when using AJAX
- Display a grid of taxonomy terms at root taxonomy page
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- Hide a widget inside a div on specific type of post
- How to have this permalink structure: post_type/postname/custom_inner_page
- custom comments form for custom post type
- Want to be able to sign up subscribers as authors
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- the_post_thumbnail call removing li in code
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- WordPress app page not found error for posts with hyphen in permalink
- Create a comments template for custom post types
- why is the current page title being output?
- How can I hard code my sidebar?
- Show Taxonomies with admin area for custom post type?
- Pagination doesnt work in custom post type
- Archive links for custom post types
- How to get dropdown instance value in WordPress custom Widget
- Include custom post type custom taxonomies in Categories widget
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- Custom sidebar for custom post type
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- Custom Post Type – Main page for certain posts
- How can I tell if I’m on a custom post type archive page?
- How does one go about converting custom post type to post format?
- How to display magic field’s custom write panel in wordpress theme?
- Not Able to Add New Class To CPT Attachment Image
- How to Enable Ascending or Descending In WordPress Default Built-in Loop
- How to store the third party script with HTML code in the wordpress custom input field?
- How to display posts from a certain category in a bootstrap 5 carousel loop with multiple items?
- How to get the custom post data using post id in WordPress?
- How to display custom field in product description?
- Manually adding current_page_parent to wp_list_pages()
- programmatically generated custom post type is created more than once
- Add extra elements to the_post in a custom post_type
- Visualize info in just custom post_type in theme
- cpt not display inside nav menu
- Issue on Getting URL of Uploaded Image to a Custom Post Type
- Is there a way to create a sidebar of bullets
- Custom Post Type has wrong label and is not found when called by a loop
- Custom post type single page uses the right template in preview mode but shows a different template after being posted
- Disable Sidebar on certain pages
- Custom Post Type archive page listing a 404 or single post
- Too many revision when post status is changes [duplicate]
- Having issue on Loading Meta Data From CSV to CPT
- Values show up in custom home page but not in custom post pages
- Permanent Custom Post Type
- call a function when insert and update a custom post type
- creating a custom post template
- 2 custom posts types, in their own columns, one pagination for both
- wordpress query_posts with foundation 6 Accordion not working correctly
- Custom post type with custom taxonomy permalinks
- Search form to find custom meta box generated data
- erase post excerpt limitation [×]
- How to use get_sidebar in plugin folder?
- Creating a Playlist of Widgets
- how to override menu widget?
- How to display only some widgets of a sidebar?
- Having some trouble properly displaying Custom Post Types in templates
- How to Create Custom Post Type with Multiple Color Options?
- Filter CPT based on meta box value using Flexible Posts widget?
- fetch meta fields inside a widget
- How to add post type in masonry posts elementory widget
- Add the title of a widget as an ID – for anchor links
- Post_type doesn’t work for widgets?
- How to display custom message for (Genesis) featured posts if no posts
- Retrieve a post with its ACF repeater fields in wordpress
- WordPress search results grouped by post type