Exact string search in wordpress

Hi all, I understood that search tags, posts on a string return bundle on partial matching

seaching abcd, if post title is abcdef it will return the post

for tags same here it is an issue.

how to make an exact search match ? I think it is not possible, in wordpress admin, it is also like this

or need to code and compare results

Could you please provide screenshots demonstrating this issue?

hi in make I can’t but in wordpress easy to spot, the searches are always string contains xxx

To have an exact tag search, you’ll need to know the full tag names.

To do this, you can try using the WordPress “Search Tags” module —

Searches for specific tags.

For more information about the Search Tags module and WordPress app, see the corresponding Integrations page and the Help Centre documentation.

Hope this helps! If you are still having trouble, please provide more details.

@samliew

yes I’m doing Search tags. the search of string is doing a contain , not exact match..

so need to make a look to extract the exact record with exact match..

There is no such feature in this module yet.

What a great idea—I’m sure others will agree that this would be nice to have too!

If this is important to you, please submit this suggestion to the Idea exchange, under App Improvement Ideas. However, do search for a similar request first (and also upvote), just in case it has already been suggested to avoid duplicates.

In the meantime, a workaround would be to create a filter that matches the exact name of the tag you are searching for.

You can also learn more about filtering in these Make Academy units:

Expanding my first scenario

  • Adding a Router
  • Adding a Filter
  • More options with Filters
  • Overview of scheduling
  • Run once

Hope this helps! If you are still having trouble, please provide more details.

@samliew

yes i guess it depens on rest api of wordpress and as it is not avialible in wp-admin as well, i guess it doesn’t exist

1 Like