How to Limit WordPress Search by a Taxonomy Term?

Key Takeaways

  • Utilize the Search Bar block from Nexter Blocks to limit WordPress search by specific taxonomy terms.
  • Select a taxonomy from the Taxonomies dropdown in the Query tab to customize search results.
  • Exclude unwanted terms by choosing them from the Exclude Terms dropdown in the Search Bar block settings.
Table of Contents

Do you want to limit WordPress search by a taxonomy term? By default, WordPress search looks into every part of the website but there may be instances where you want to limit the search to specific taxonomy terms only.

With the Search Bar block from the Nexter Blocks, you can easily limit the search to specific taxonomy terms.

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. Go to the Query tab and select a taxonomy from the Taxonomies dropdown.

2. Then from the Include Terms dropdown you can select specific terms.

How to Limit WordPress Search by a Taxonomy Term?

Now the search will be limited to those terms only.

Similarly, you can exclude terms from the search by selecting terms from the Exclude Terms dropdown.

About the Author

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