This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Search Exclude HTML Tags


This plugin makes the WordPress built-in search ignore HTML tags in post content.

By default, the WordPress built-in search considers HTML tags in post content to be searchable content. This behaviour often yields unexpected results. For example, a search for the keyword “strong” returns posts with any <strong> tags in them, “title” returns posts with any HTML tags that have a title attribute (such as all the <img> tags that you insert via the post editor media buttons)… and so on.


  1. Upload search-exclude-html-tags.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.



Contributors & Developers

“Search Exclude HTML Tags” is open source software. The following people have contributed to this plugin.




  • Initial version.