This isn’t THE answer, but it’s one answer.
Quick fix: Have my clients check two boxes whenever they use a sub-category. (sub-category box + parent category). This will ensure the post-count is correct.
Events [x]
Meals and Mission [x]
Would love a fix that didn’t depend on clients checking both boxes all the time.
Related Posts:
- How to create a widgetized sidebar for every category dynamically?
- Display all posts with same title
- Categories lose hierarchy order once assigned to post
- Add Icons to the Product Category Sidebar Widget WooCommerce
- Tags Instead of Category
- Using wp_category_checklist in a widget
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Different template for subcategories
- How to remove the parentheses from the category widget
- Categories’ hierarchy in URL
- Customizing Default Categories Widget
- How to only show posts on last child category
- I want to create a posts widget and be able to select categories
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- How to have Multiple Archives Widgets, one archive widget per category (in a different page)?
- show posts names and links in the sidebar list as categories child
- Add Product categories to WordPress menu without losing hierarchy
- How can I get an tag to wrap each ancestor that gets outputted in this condition?
- how to get the categories for a single post in a hierarchical way
- Category tree is flattened inside admin upon saving
- Custom sidebar on category pages
- Categories vs. Page Site Organization
- How to enable category hierarchy for links?
- How to display widgets inside a page content without a plugin?
- Combining post categories and link categories?
- Display category-specific comments in sidebar
- How do you categorize pages?
- WordPress category widget only show categories with children
- How to categorize posts under Category 1 and Category 2 which are separate lists of categories, and display them as separate lists in widgets
- Customize WordPress widget – Product Category
- Give a page priority over a category that has the same name?
- Post Count for Categories, however not to calculate a total
- Add child category to parent on post creation and save
- Categories widget show empty?
- Is it possible to remove from default category widget?
- How to get Next/previous_post_link to go through articles in top parent category
- how to remove the default title of Categories widget
- How to show 5 posts from specific category on related page?
- Hierarchical permalink structure for posts showing categories and sub-categories
- WordPress list categories dropdown with parent-child relation and child under it’s parent
- display a widget on specific category and its sub categories
- Multiple selection for wordpress widget
- How to not display subcategories in Recent Posts widget area?
- Display only subcategories of a category and not sub-subcategories
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- How to only show parent categories in sidebar
- How to hide widget from certain category
- Show Secondary Sidebar on Category pages (archive)
- How to load several hierarchical categories from functions.php
- Check is category parent with ids from the childs – get_term_children
- Posts not listing out sub category in hierarchy
- list all child categories that apply to current post even if those cats are empty?
- Last x Posted Categories?
- WordPress category filters as subcategories
- sidebar troubles, taxonomy trouble
- exclude certain categories form archive widget
- Excluding current category from sidebar’s post widget, elementor, query-id
- Conditional widget for theme template file
- Show subChild categories
- Custom sidebar isn’t showing up on sub-category posts
- Add filter for specific category only
- How do I get conditional sidebars for specific category archives and posts
- Exclude a category from block editor’s category widget
- How can I display the category name in the single post when using WP Blog and Widget?
- How to edit woocommerce sub-category page
- Parent Category and Subcategory default text generated with category
- Sidebar by Category Conditional Statement not functioning
- outputting taxonomy hierarchy
- Print categories and most viewed articles
- Different template for subcategories
- How to Change Sort Order of default WordPress Catgory Widgets?
- How to list categories by page id in wordpress
- How to add an “All” category to the tag cloud?
- Custom file with special code of category widget
- Loop doesn’t work
- in_category(‘category-sluga’) returns true for Archive page of Category ‘category-slugb’
- Automatic menu creation for pages with categories?
- Children categories not shown in dashboard
- Most efficient use of custom taxonomies, categories, and pages
- Sidebar Categories change arrow when subcategories are shown on click
- Archives and category of authors
- How to add the sidebar in all category page
- Display categories and their IDs
- Problem with single posts not showing correct category sidebar
- How To Disable Category Hierarchy In Categories Widget?
- single category widget with conditional terms
- Customize category query in widget
- Categories not shown on sidebar
- List the category tree of all the product_cat categories
- Display different sidebar based on search results from one category
- Exclude category in widget through child theme
- Categories breadcrumb in a hierarchical order
- how to display specific Category if post have more one Category?
- error in specific category loop
- Related to genre and category
- Unable to add multiple categories to a post in WordPress
- Get permalink to latest post in category
- WordPress category title not update in navigation menu
- Function add class to second menu specific items if the page has a certain category
- Dynamically display sub-categories on primary menu without adding them