How to Search Custom Post Types by Custom Taxonomy in Elementor?

Key Takeaways

  • The Plus Addons for Elementor includes a Search Bar widget that allows users to search custom post types based on custom taxonomies.
  • Users must create at least one custom post type and its custom taxonomy, such as Books and Book Authors, to utilize the Search Bar widget effectively.
  • The AJAX Search feature is enabled by default in the Search Bar widget, allowing for dynamic search results within selected custom taxonomies.
Table Of Content

Do you want to search custom post types based on custom taxonomy in Elementor? Custom post types and custom taxonomies allow you to manage your content in a more organized way.

With the Search Bar widget from The Plus Addons for Elementor, you can easily allow users to search from custom post types based on custom taxonomies.

To check the complete feature overview documentation of The Plus Addons for Elementor Search Bar widget, click here.

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

To do this, make sure you have created at least one custom post type and its custom taxonomy, you can use the free Advanced Custom Fields (ACF) to create a custom post type and custom taxonomy.

For instance, we have created a custom post type called Books and Book Authors as its custom taxonomy.

Then, 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 your custom taxonomy, i.e. book-author here. 

Search bar custom taxonomy

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.

Note: You can click on the +Add Item button to use both custom post types and custom taxonomy as filters as well.

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

Search bar ajax search

Note: The AJAX Search will be enabled by default.

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

Also, read How to Search Posts by Title Only in Elementor.

About the Author

Photo of Aditya Sharma CMO of The Plus Addons for Elementor
CMO · The Plus Addons for Elementor · 10 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressElementorn8nAIClaudeAutomationServer
Get Instant Answers to all your questions about The Plus Addons for Elementor, trained on 1000+ Docs and Videos

Related Frequently Asked Questions

What should I do if the Search Bar widget isn't displaying my custom post types?

If the Search Bar widget isn't showing your custom post types, ensure that you have created at least one custom post type and its corresponding custom taxonomy. For example, if you've set up a custom post type called Books with a taxonomy like Book Authors, verify that these are properly configured. Additionally, make sure The Plus Addons for Elementor is installed and activated, as this widget is part of that plugin.

What are the best settings for using the Search Bar widget with custom taxonomies?

A best practice when using the Search Bar widget is to enable AJAX Search, which is on by default. This allows for real-time search results as users type, improving user experience. Additionally, consider adding a label and placeholder text to guide users on what to search for, making the search bar more intuitive.

Does the Search Bar widget support searching by custom fields in Elementor?

The Search Bar widget from The Plus Addons for Elementor specifically focuses on searching custom post types based on custom taxonomies. If you need to search by custom fields, you may need to explore other widgets or methods, as this functionality is not mentioned in the current documentation.

How do I create a custom post type and taxonomy for use with the Search Bar widget?

To create a custom post type and taxonomy for the Search Bar widget, you can use the free Advanced Custom Fields (ACF) plugin. This allows you to define your custom content structure, such as a post type called Books and a taxonomy like Book Authors, which can then be utilized in the Search Bar widget for filtering search results.

Last reviewed: April 10, 2026