Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Enhanced Search Form

Descripción

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)

Capturas

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

Instalación

  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.

Reseñas

No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«Enhanced Search Form» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Enhanced Search Form» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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.