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 featured posts first, then display all others within a specific category in WordPress
- mysql query from wordpress page using custom table
- query in category.php repeats itself
- WordPress 3.2 query_posts and pagination, permalinks issue
- only show container with next/prev links if they exist?
- Issue adding sub category programmatically
- What query string parameter is available for index.php, that works for both pages and blog articles?
- ACF: how do I get the fields and its values of a specific group?
- How to exclude category ID from Looper in WordPress
- Add a specific part of current category page url to shortcode
- how do I get a specific post from a post with a subcategory in WP
- WP grandchild categories in nested ul li
- Grab posts by multiple categories
- Pass Category Name, Description and Photo into variables to pass to jQuery
- How to show single category archive
- Move category description below post list in blog
- Set WP_query ‘order’ option by another tables value
- How to pick the default selected value in wordpress dropdown?
- Applying A Category to Existing Posts Where Page Title Matches Regex
- Get page that displays all children of taxonomy parent
- WordPress default Search function inconsistent in WooCommerce Product Titles
- Increase offset while looping
- selected option if current category is the value
- Long running queries
- wpdb php get_var query to get ID for URL image doesn’t work for ID over 999
- get_template_part based upon post’s category
- How to pre populate a form field with a link of a current user’s author profile?
- how to save selected option in variable for rest api category filter
- Two queries for a WP_User_Query search work perfectly apart, but not together
- Setting default category base on theme activation
- Trying to get a PHP variable defined in a custom post into a javascript file. Null value. Using wp_localize_script
- Recent Posts Not Showing Only On A Specific Category Page [closed]
- Hide subcategories (widget)
- Alert Bar section within WP loop is displaying even though there are no posts
- Let Users Choose Post Categories
- Different post styles depending on category
- Display category name only once inside loop
- Query if audio attachment AND/OR custom field
- Using $wpdb (WPDB class) ‘replace’ with multiple WHERE criteria problem
- wordpress archive a user
- How to show only subcategories in parent category not parent category?
- register_taxonomy() take much queries
- WordPress SQL injection
- how to show only specific category for a template
- Which is the correct way to conditionally enqueue a CSS file?
- Dilemma of Populating all the categories in a drop down list
- Odd / Even posts add class minus first post
- Display most popular posts of category
- Creating sub-categories via php
- Define specific category name in PHP
- Edit the_category (); for a hierarchical display
- JSON REST API WordPress only showing first 10 categories
- Category title output before opening title tag
- unable to use ‘new WP_Query’ in AJAX call
- get taxonomy thumbnail and use it as a variable in code
- Include Parent Term in wp_list_categories
- Parse error: syntax error, unexpected ‘}’ on get_the_author_meta [closed]
- How to array only one key from another array
- I’m trying to create an array with a foreach loop, but the array only stores the last item [closed]
- How to list commenters and days since last commented
- How to add div blocks after certain set of post
- Get all categories post is not in
- How to overwrite orderby with add_query_var
- Can’t update multiple rows with $wpdb query
- Get latest post from all categories except one
- Using Shortcode to Grab Archive Listing, Separate by Year
- Displaying posts based on category
- Get categories names as an array to use it in theme settings
- working with term_relationships table
- Rewrite with pagination /foo/page/2/ to posts of a given category, page 2
- How to get the last category name of a child category?
- WordPress query undefined offset in loop
- Can I make get_users() query global?
- In WordPress, how do I get the number of posts next to single_cat_title(”); in the category.php file?
- Use get() method to grab all categories and output inside another method
- How to display SQL query that ran in WC_Order_Query?
- Only show size attributes in product box woocommerce when available
- Custom Post type slider with thumbnail navigation
- How to get category name or ID by post?
- Custom post type category not displaying category ID
- Argument for if term-> have child?
- Parse error: syntax error, unexpected ‘}’ [closed]
- How to get current post category details inside “loop”?
- How to separate categories with commas?
- Shortcode to pull posts
- PHP -> SQL Query with Summing