Try this hide_empty=1 it should be hide_empty=0
Related Posts:
- Archive listing of posts by publish year (multiple years)
- What is an equivalent of single_cat_title for getting the slug of the category?
- How do I remove a category from a wordpress loop>
- Issue with custom loop in Archive page
- How to hide posts of a specific custom category in WordPress?
- Display latest post from WordPress Featured Category that is also in X,Y,or Z categories
- Woocommerce. Get a list of products in the current category on the archive page and product page
- Category Page Displaying all Pages
- Link to index.php from home.php?
- Customizing the output of the archive and category widget without altering the original behavior of the widget
- Trying to exclude posts from a category on the home page
- dynamically filter by category via sub-menu
- WordPress categories not working throughout site
- Exclude a category ID from the following function
- Display current category title on category page
- Only get_posts of certain post formats
- Inject post (from specific category) between posts in Loop
- How to search display_name column when using WP_User_Query
- How to order posts by modified date without using ‘query_posts’?
- List all categories but exclude current post category on single post page
- Specific Loop For 2 Within Each
- How to add a post or page tag to the list of classes appearing in the body tag’s class attribute?
- Edit category output
- Archive dropdown styling not applied
- Custom Loop through category menu to include sub categories
- Get ID of child from child slug, while knowing parent ID
- Different background-image by category
- Get posts with at least one category in common with current post?
- Woocommerce – remove product from category
- Get category name from custom loop and echo it once
- Why is variable not working on custom sql query using wpdb?
- Custom filter in admin edit custom post type responding with invalid post type?
- Create WP_Query to search for posts by their categories or their parent/child categories
- Filter Select results based on selection
- ACF: how do I get the fields and its values of a specific group?
- how do I get a specific post from a post with a subcategory in WP
- WP grandchild categories in nested ul li
- How to show single category archive
- Set WP_query ‘order’ option by another tables value
- How to pick the default selected value in wordpress dropdown?
- Get page that displays all children of taxonomy parent
- WordPress default Search function inconsistent in WooCommerce Product Titles
- Increase offset while looping
- Two queries for a WP_User_Query search work perfectly apart, but not together
- Hide subcategories (widget)
- wordpress archive a user
- How to show only subcategories in parent category not parent category?
- WordPress SQL injection
- Which is the correct way to conditionally enqueue a CSS file?
- Dilemma of Populating all the categories in a drop down list
- JSON REST API WordPress only showing first 10 categories
- How to list commenters and days since last commented
- Get all categories post is not in
- Can’t update multiple rows with $wpdb query
- Rewrite with pagination /foo/page/2/ to posts of a given category, page 2
- How to display SQL query that ran in WC_Order_Query?
- Custom Post type slider with thumbnail navigation
- Custom post type category not displaying category ID
- How to get current post category details inside “loop”?
- Post not populating for custom post type based on category selection
- Removing sidebar on category pages
- Querying for specific tags
- Why my query does not run with prepare
- List of Events with Multiple Dates: Only NEXT Date
- How to display only one category in a custom post type?
- go to home page when i select default in select-box
- Remove Custom Post Category In WordPress Slug Using .Htaccess
- Wrong Number of Products When Hiding Subcategory Products From Showing In Parent Category
- How do I edit the terms output args or array data?
- Build A Custom SQL Query for WordPress Search
- List of post categories only associated to another custom taxonomy
- Get main parent category for post (WordPress/Advanced Custom Fields)
- Display Visual Composer shortcode if a post belongs in specific categories
- Reading URL Parameters
- How does Permalink work with the AMP plugin after Removing Parent Permalink Catalog from Posts
- Exclude category and post from loop in custom category.php
- Admin backend, show post from a category and exclude the posts from subcategories
- How to tell if a page has subpages for Custom Post Types
- Populate Posts based on category selected using AJAX that means without page refresh
- random woocommerce categories are not showing when count enabled?
- Exclude a category slug on pagination
- How to do a MySql query in WordPress?
- Short code into PHP
- Need Quick Help With Product Category Page
- Need to adjust condition to say if I’m pulling categories from a post, to pull only the first one
- “Where… like” query not working as expected
- Page 2+ of taxonomy archives does not recognise sort-order from dropdown
- Unserializeing multiple column values that are stored in one database results variable
- Search in particular category in wordpress
- Problems With Query and/or Template Part and/or PHP
- Is there a way to randomize and connect a background and header image?
- If Elseif Query
- Error trying import one category on page
- How to callback custom field text
- Stop header code from showing in category page?
- Get unique post in parent category
- How can I add more code to this?
- Code that displays images – images get shown multiple times
- Does wp_query and query_posts affect website performance? [duplicate]
- Show post like this image in my newssite [closed]