Make a child theme.
Copy category.php into your child theme.
Comment out lines 17, 33, 46, 48, and 50.
The category checks if you have any posts under that category and if not shows ‘Nothing Found’.
You’re essentially removing the if statement.
This will show the category title if there are not posts under this category.
Related Posts:
- Save metabox checkboxes values to custom content type
- How to customize tag and category post listings to show introductory content?
- Please tell how to stop the category from showing up on posts
- Country Ways Content Show
- How to create an automatic MultiColoumn MegaMenu with Categories WordPress
- Gutenberg editor add a custom category as wrapper for custom blocks
- Different template for subcategories
- Category Archive, list subcategories of each post
- Disable pagination only for specific category
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Category Specific Archive
- How to add categories to products in woocommerce programatically? [closed]
- Is there a plugin that will completely remove the category system?
- How to get the number of child categories a specific parent category has?
- Removing category base form links messes up the parent-child behavior
- How to get only the last child of category slug?
- Remove Parent Category from Child Category URL
- Multisite – create a category in specific site
- How do you remove display of WooCommerce product category on single product page?
- Allow users to post to a certain category
- Show recent posts in menu?
- Cannot add / edit categories to a post anymore
- Convert the default sub-category dashes to bullets or any other characters
- How to check category of of custom post type or not
- Set a them for all subset of category
- Category pie diagram meta box in post editing page
- Populate dropdown based on selection of parent category
- query cat orderby and order not working
- WooCommerce – How to show specific category first-rest of products-specific category last
- Multiple URL’s based on category for one post
- WordPress category check
- Exclude current post from loop
- Removing Uncategorized on post save if other category present?
- Exclude categories from wp_list_categories by category slug
- Can’t delete a category in WordPress
- WordPress Categories in data-groups
- Nicer URL for viewing category of posts?
- Get Categories Where Taxonomy Equals ‘n’
- How to access deleted term inside delete_product_cat action
- How to order get_categories() in the same order as the menu?
- Remove Archive | from Categories
- Showing Categories for Page Edit – without plugin
- Difference between wp_list_categories and get_categories
- Show different menu on each woocommerce category page
- Have posts that belong to multiple categories, exclude some categories from homepage
- Display subcategories selectbox on each category page
- Only first category!
- How could I write a get_categories_by_year() function?
- How to add icon over specific thumb
- add_settings_field (exclude categories->reading) wp_category_checklist
- Retrieve post tags from from main wp_query
- Listing Post Categories on Home Page
- Get posts in a subcategory of a chosen parent
- How can I only display links from a child category
- Category Template – Show Last Entry as Featured
- How to add meta description, keywords, custom title to a category template
- User level categories
- Exclude category from drop down list form
- can I ‘combine’ categories as a menu item?
- How to set the same base url for two different taxonomies?
- Hide category name but show posts
- Count how many posts have a specified tag AND category
- Show the parent taxonomy by creating shortcode in woocommerce?
- Parent Category and Subcategory default text generated with category
- Post List by category and under custom taxonomy
- How to create a table with counts of category combinations?
- How to get the_category(‘, ‘) with link “title” attribute
- product_cat image url from database
- How to get the term id inside the start lvl method of category walker?
- Multiple if statements with else for get_the_category [closed]
- Balance Tags to the_content Words Length
- How to create template for children category?
- Using a template page parent breaks page
- Categories and Tags Conflict after Woocommerce Installation
- Setting category for post as default
- the_content() not showing full posts in category template
- Query post only from categories that have subcategories
- How to get the link of all categories
- Show parent category if there is no subcategory
- foreach,having wp_query inside, breaks after showing one result
- Display a category name automatically using code in the functions.php file
- Removing categories, Comments etc from posts?
- Add html word before category
- Include Category Description in search result
- Problem importing categories and sub-categories
- Show parent-child relationship for categories in the wordpress admin
- How to assign different categories to pages in wordpress?
- how to ask if in two categorys inside if
- All post of child category not in top category
- How to add a tag above a category post that displays the category name in WordPress
- Woocommerce – Display product category of product in Orders page
- How to show video from wp option value?
- Changing Woocommerce categories programatically
- Add an Exclusive or featured tag line to article titles
- How to list out post category name and description in page
- Print child category slug nicename
- How to link ACF relationship field to the new Query block in Full Site Editing
- Order Categories by Character Count
- how do I exclude a category foreach
- CPT Custom post type Tags & Categories not showing for ‘Editor’ user in editor