---
title: "How to Search by Post Category in Elementor?"
url: https://theplusaddons.com/docs/search-by-post-category-in-elementor/
date: 2023-09-13
modified: 2026-04-10
lang: en
author: "Aditya Sharma"
description: "Do you want to allow users to search blog posts by different categories? This is particularly useful for websites which has a large number of posts. It allows users to..."
image: https://theplusaddons.com/wp-content/uploads/2023/09/How-to-Search-by-Post-Category-in-Elementor_-1024x536.jpg
word_count: 308
---

# How to Search by Post Category in Elementor?

## 

- Utilizes the Search Bar widget from The Plus Addons for Elementor to enable category-based post searches.
- Enables AJAX Search by default for real-time filtering of posts within selected categories.
- Allows customization of dropdown labels and placeholders for enhanced user experience.

Do you want to allow users to search blog posts by different categories? This is particularly useful for websites which has a large number of posts. It allows users to quickly filter through content and find posts that belong to a specific category.

With the Search Bar widget from The Plus Addons for Elementor, you can easily allow users to search posts by category.

*To check the complete feature overview documentation of The Plus Addons for Elementor Search Bar widget, [click here](/docs/search-bar-widget-settings-overview/).*

***Requirement  - This widget is a part of The Plus Addons for Elementor, make sure its installed & activated to enjoy all its powers.***

[LIVE WIDGET LINK](https://theplusaddons.com/plus-search-filters/advanced-wp-ajax-searchbar/?utm_source=tpae&utm_medium=docs&utm_campaign=text)

To do this, add the Search Bar widget on the page or template and follow the steps -

1. Open the item under **Search Bar** and select **Taxonomy **from the **Source** dropdown.

2. From the **Select Taxonomy **dropdown, select **category**.

![search bar category](https://theplusaddons.com/wp-content/uploads/2023/09/search-bar-category.png)

Now, you should be able to see a dropdown beside the search bar.

In the **Label** field, you can add a label name for the select dropdown.

In the **Placeholder** field, you can add a placeholder text for the select dropdown. 

From the **Show Index** toggle, you can show the number of posts the item has in numbers.

Then from the **Show Sub category** toggle, you can search posts by subcategories as well.

> *Note: You can click on the +Add Item button to use both posts and categories as filters as well.*

3. Now go to **Extra Option** tab and make sure the **AJAX Search** is enabled.

![search bar ajax search](https://theplusaddons.com/wp-content/uploads/2023/09/search-bar-ajax-search.png)

> *Note: The AJAX Search will be enabled by default.*

Now you can select a category from the dropdown to show all the posts within the category in the search result or you can directly search for blog posts within a specific category.

![search bar category demo](https://theplusaddons.com/wp-content/uploads/2023/09/search-bar-category-demo.gif)

Also, check [How to Search by Post Tag in Elementor](https://theplusaddons.com/docs/search-by-post-tag-in-elementor/).