Search Exclude HTML Tags

Plugin Banner

Search Exclude HTML Tags

by superann

Download
Description

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.

None.

1.0

  • Initial version.
Back to top