How to Search by Post Tag in WordPress?

Key Takeaways

  • Nexter Blocks includes a Search Bar block that allows users to search posts by tags in WordPress.
  • The Search Bar block enables AJAX Search, allowing users to see search results dynamically as they type.
  • Website owners can show the number of posts associated with a tag by enabling the Show Count toggle in the Search Bar block.
Table of Contents

Do you want users to search posts by tags in WordPress? By allowing search by tags, website owners can improve the user experience and make their content more accessible.

With the Search Bar block from the Nexter Blocks, you can easily allow users to search posts by tags in WordPress.

To check the complete feature overview documentation of the Nexter Blocks Search Bar block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

To do this, add the Search Bar block on the page or template and follow the steps –

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

2. From the Select Taxonomy dropdown, select Tags.

searchbar taxonomy tags

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.

You can show all the search results on load by enabling the All Result toggle.  

From the Show Count 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 posts and categories as filters as well.

3. Now go to Extra Option tab and enable the AJAX Search toggle.

searchbar ajax search 2

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

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 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.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What if the Search Bar block doesn't show up after installation?

If the Search Bar block isn't visible after installation, ensure that the Nexter Blocks plugin is activated. Sometimes, caching issues can prevent new blocks from appearing. Clear your site's cache and refresh the page to see if the block becomes available.

What settings work best for enabling AJAX Search in the Search Bar block?

Enabling the AJAX Search toggle in the Extra Options tab is crucial for a smoother user experience. This allows users to see search results dynamically as they type, rather than having to submit the search form. It's a best practice for improving engagement on your site.

What happens if I forget to select Tags from the Select Taxonomy dropdown?

If you forget to select Tags from the Select Taxonomy dropdown, the search functionality will not filter posts by tags, which defeats the purpose of allowing users to search by tags. Always ensure this setting is correctly configured to enhance user experience.

Does the Search Bar block work with other page builders besides Gutenberg?

The Search Bar block is designed primarily for Gutenberg, but it also supports Elementor and Bricks. If you're using these builders, you can still incorporate the Search Bar block to enable tag-based searching, providing flexibility in how you build your site.

Last reviewed: April 14, 2026

Related Docs