This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Enhanced Search Form

Description

WordPress has a build-in search system which actually allows searching posts in certain one or mutiple category(s), month archive(s) and tag(s). However, by default you must manually add extra GET/ POST parameter to search query to enable these features.

This plugin enhanced the wordpress search form so visitors can submit a more advanced search query via XHTML visual Form, allowing setting conditions that posts should be in some category(s), publish in which month, having some tag(s) and other conditions. Mutiple conditions are allowed and connected by AND Boolean operation.

Go to “Installation” tab to see how to install and use this plugin. Goto “Screenshots” tab to see what enhanced search form likes.

Translation

  • Russian (ru_RU)

Screenshots

  • Search Form, the "Advanced" button is added by this plugin
  • When clicking "Advanced", visitors can set more search conditions...

Installation

  1. Upload this plugin to your WordPress plugin directory( generally wp-content/plugins/ ).
  2. Activate it in admin area.
  3. Your theme should have a hardcoded search form or you should add a “Search” widget to sidebar to allow visitors searching.
  4. Check whether or not there is a “searchform.php” file in your current theme directory, if not, you don’t need do anything; If yes, edit this “searchform.php” following the below instructions:

Your theme’s “searchform.php” file may look like below, with some other codes:

....
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
    <input type="text" id="s" name="s" value="<?php the_search_query(); ?>"  />
    <input type="submit" id="searchsubmit" value="Search" />
</form>
...

add the <?php if (function_exists('esf_add_form_field')) esf_add_form_field(); ?> code to proper place inside <form> element, in most cases you can put it just after <input type="submit" value="Search" /> button and before </form> close tag.

That’s all. You may want to add css styles to make search form nicer.

FAQ

Known problems

It’s tested that some feature(s) of “search everything” plugin is not compatible with this plugin, which will cause this plugin’s “search by month” feature not working, the problem may be because of the unmatched quote in SQL sentence processed by “search everything” and this plugin. Currently no way to fix it as further troubleshooting is difficult.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Enhanced Search Form” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Enhanced Search Form” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

V0.5 – 03.12.2014

  • Update : We remove a menu page.

V0.4 – 21.11.2014

  • Update : We updated all functionality for WordPress 4.0.1.
  • NEW : We added a menu page.

V0.3 – 2014.08.27

  • Bugfix : We fixed bugs on the search results page.
  • Update : We updated all functionality for wordpress 3.9.2.
  • NEW : The Russian language file is added to the plugin.

V0.2 – 2009.09.18

  • Bugfix : Bugs fix

V0.1 – 2009.07.12

  • New : First release.