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 make this menu drop down or like accordion
- Get term name and term parent into custom post type permalink
- Register widget only page is a singular of custom post type
- Widget: Custom Post Type Post Listing Dropdown on Admin Side
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Help need making decision. Ads rotating site on wordpress
- Query & Order posts by custom fields
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- custom taxonamy and post type
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Return the latest post from a custom Taxonomy and Post Type
- Don’t know how to show custom taxonomies from a custom post_type
- Best practices regarding the creation of custom widgets?
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- WordPress CPT save metadata in gutenberg
- Not Able to Get Custom Post Type Gallery Images URL
- JS innerhtml changing style when using AJAX
- Display a grid of taxonomy terms at root taxonomy page
- Adding sidebar to template creates horizontal gap the size of the side bar
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- customise template to only show custom post type entries
- How to change the post type a theme shows by default?
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- Custom Widget WP_Query problem
- Hide a widget inside a div on specific type of post
- Event Custom Post Type Title show by upcoming Event Dates
- How to have this permalink structure: post_type/postname/custom_inner_page
- Building a Treatments Page, What Do I Use?
- Filter widget outputs
- Displaying details of a post in a sidebar
- Custom post types and category archive
- Set Custom Post Type in Widget Settings for use in Widget
- custom comments form for custom post type
- How to produce a sub-page-system in WordPress
- Want to be able to sign up subscribers as authors
- WebP Fallback for Inline Background Image in Style Attribute
- How to specify a template for a path like http://example.com/something?
- 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
- How can i link a custom post type thumbnail to intermediate size
- i cant see the max_num_pages of a custom wp query
- Archieve.php not loading for custom post type
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- how to set a WP Plugin’s url
- detect your custom post type in WordPress
- Display custom post using ID
- Custom WP_Query doesn’t display all posts
- Why isn’t a list of posts from my custom post type displaying in this widget?
- Specify a particular page to list all custom types
- WordPress app page not found error for posts with hyphen in permalink
- Where is the sticky post option?
- Two column layout with alphabetical ordering
- Create a comments template for custom post types
- Custom post type permalink sends to 404.php
- WP_Query with custom post type ID
- why is the current page title being output?
- How can I hard code my sidebar?
- Api rest_route 404 while building filter for custom posts (filtered by multiple meta keys / custom fields)
- how to get this tax_query working?
- 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
- Template Hierarchy for custom post type pages
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- Custom post type’s posts are not showing anywere but in xml sitemap
- Custom sidebar for custom post type
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Assign a template to a custom post type when displayed by the main loop on the home page
- Custom Post type content within a slider
- Post Query not working
- If Post type use sidebar (‘tree’)
- Custom Post Type – after disable ‘Add New’, I can’t edit and delete post
- display custom post type in widget aera
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- Having Issue on Getting Metabox Checkbox Value
- Searching post types
- Custom meta box in custom post type not working
- Add admin script to several post types
- Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis
- Allow different tags in widget titles
- Why does my URL keep returning 404 error code?
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Custom Post Type – Main page for certain posts
- Adding link to dashboard sidebar, nested under custom post type
- Custom post type posts wont show in wp_nav_menu()
- Truncate custom post type content
- 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?