WordPress.org

Plugin Directory

!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.

Disable Search

Version: 1.3 Disable the search capabilities of WordPress.

Disable the search capabilities of WordPress.

Prevent WordPress from allowing and servicing any search requests for the blog. Specifically, this plugin:

  • Prevents the search form from appearing (if the theme uses the standard get_search_form() function to display the search form).
  • Disables the search widget. ** Removes the Search widget from the list of available widgets ** Deactivates any search widgets currently in use in any sidebars (they are hidden, not deleted; they'll still be in the proper locations if this plugin gets deactivated)
  • With or without the search form, the plugin prevents any direct or manual requests by visitors, via either GET or POST requests, from actually returning any search results.
  • Submitted attempts at a search will be given a 404 File Not Found response, rendered by your sites 404.php template, if present.

NOTE: If your theme (child and/or parent) contains a searchform.php template file, you must rename or remove them. Otherwise they will likely be used by the theme to display the search form. The form won't work (thanks to this plugin), but it will still be displayed. WordPress currently does not provide a means for the plugin to circumvent the theme's use of this template file.

Until such time as this searchform.php override becomes possible, a notice will be shown to admin users on the site's themes and plugins admin pages if the active theme (and/or parent theme) contains a searchform.php template. See the FAQ section for how to remove the message if you don't want to remove/rename the template file(s).

Links: Plugin Homepage | Plugin Directory Page | Author Homepage

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2011-2-24
Downloads: 8,956

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,2,2
100,2,2 100,1,1
100,1,1
100,1,1
0,1,0
0,1,0