---
title: "How to Add a Category Wise Filter in Blog Post in WordPress?"
url: https://nexterwp.com/docs/add-category-wise-filter-in-blog-post-in-wordpress/
date: 2023-05-06
modified: 2026-04-14
author: "Aditya Sharma"
description: "Are you looking for a way to make it easier for your readers to find the content they're interested in on your WordPress blog? Adding a category filter can help..."
image: https://nexterwp.com/wp-content/uploads/2024/05/add-category-wise-filter-in-blog-post-in-wordpress-1024x519.jpg
word_count: 332
---

# How to Add a Category Wise Filter in Blog Post in WordPress?

## Key Takeaways

- Nexter Blocks includes a Post Listing block that allows users to create a custom blog post listing with various customization options.
- Category Wise Filter can be activated by turning on the toggle in the Filters tab of the Post Listing block settings.
- Users can filter posts by category or tag, and add an All Filter toggle to display all posts in the blog post listing.

Are you looking for a way to make it easier for your readers to find the content they're interested in on your WordPress blog? Adding a category filter can help them navigate through your posts with ease.

One of the easiest ways to do this is by using the Post Listing block from the Nexter Blocks. This powerful block comes with a range of customisation options, allowing you to create a custom blog post listing that suits your needs.

*To check the complete feature overview documentation of the Nexter Blocks Post Listing block,* [click here](/docs/post-listing-block-settings-overview/).

***Requirement  - This block is a part of the Nexter Blocks, make sure its installed & activated to enjoy all its powers.***

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/listing/wordpress-post-listing/)

To do this, add the Post Listing block on the page, and select the appropriate listing type, post type, style and layout.

To ensure this works, make sure to assign categories to your post, only then it will show here.

> *Note: Category filter is only available in the ****Normal Page**** listing type, except the ****Carousel**** layout.*

Then go to the **Filters** tab, and turn on the **Category Wise Filter** toggle. 

![](https://nexterwp.com/wp-content/uploads/2023/05/post-listing-layout-category-filter-new.png)

Now you’ll be able to see filter options in your blog post listing that you can use to filter the posts by category.

From the **Filter by** dropdown, you can set filter by category or tag. Let’s keep it to category.

> *Note: In a similar way, you can set filters by tag as well.* 

You can turn on the **All Filter** toggle to add an additional filter label to show all the posts. You can edit the filter label from the **All Category** **Text** field.

From the **Child Category Filter** toggle, you can add filter by subcategory as well. 

From the **Style** and **Hover Style,** you can choose different styles for the category filter labels for normal and hover states.

From the **Alignment** section, you can align the filter.

![post listing filter demo](https://nexterwp.com/wp-content/uploads/2023/05/post-listing-filter-demo-1.gif)

Also, check [How to Create Category Archive Page for Blog Post in WordPress](https://nexterwp.com/docs/create-category-archive-page-in-wordpress/).

## Frequently Asked Questions

**Q: What should I do if the category filter isn't showing up in my blog post listing?**
A: If the category filter isn't appearing, ensure that you have assigned categories to your posts. The filter will only display if posts are categorized. Additionally, verify that you are using the Normal Page listing type, as the category filter is not available in the Carousel layout.

**Q: What is the best way to style the category filter labels?**
A: To style the category filter labels effectively, use the Style and Hover Style options in the Filters tab. This allows you to customize how the labels appear in normal and hover states, enhancing the visual appeal and user experience of your blog post listing.

**Q: How do I create a category archive page for my blog posts?**
A: To create a category archive page for your blog posts, follow the guidelines provided in the [How to Create Category Archive Page for Blog Post in WordPress](https://nexterwp.com/docs/create-category-archive-page-in-wordpress/) documentation. This will help organize your content and improve user navigation.
