Title: Enhanced Search Form
Author: Ono Oogami
Published: <strong>11. juli, 2009</strong>
Last modified: 3. december, 2014

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/enhanced-search-form/assets/icon-256x256.png?rev=1030158)

# Enhanced Search Form

 Af [Ono Oogami](https://profiles.wordpress.org/ono-oogami/)

[Download](https://downloads.wordpress.org/plugin/enhanced-search-form.0.5.zip)

 * [Detaljer](https://da.wordpress.org/plugins/enhanced-search-form/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/enhanced-search-form/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/enhanced-search-form/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/enhanced-search-form/#developers)

 [Support](https://wordpress.org/support/plugin/enhanced-search-form/)

## Beskrivelse

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)

## Skærmbilleder

 * [[
 * 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.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Enhanced Search Form” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ Ono Oogami ](https://profiles.wordpress.org/ono-oogami/)
 *   [ bestweblayout ](https://profiles.wordpress.org/bestweblayout/)

[Oversæt “Enhanced Search Form” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/enhanced-search-form)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/enhanced-search-form/),
tjek [SVN repository](https://plugins.svn.wordpress.org/enhanced-search-form/), 
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/enhanced-search-form/)
via [RSS](https://plugins.trac.wordpress.org/log/enhanced-search-form/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

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

## Meta

 *  Version **0.5**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **30+**
 *  WordPress-version ** 2.8 eller højere **
 *  Testet op til **4.0.38**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/enhanced-search-form/)
 * Tags
 * [form](https://da.wordpress.org/plugins/tags/form/)[search](https://da.wordpress.org/plugins/tags/search/)
   [sidebar](https://da.wordpress.org/plugins/tags/sidebar/)[widget](https://da.wordpress.org/plugins/tags/widget/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/enhanced-search-form/advanced/)

## Bedømmelser

 3 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/enhanced-search-form/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enhanced-search-form/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enhanced-search-form/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/enhanced-search-form/reviews/?filter=2)
 *  [  1 1-stjernet anmeldelse     ](https://wordpress.org/support/plugin/enhanced-search-form/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/enhanced-search-form/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/enhanced-search-form/reviews/)

## Bidragsydere

 *   [ Ono Oogami ](https://profiles.wordpress.org/ono-oogami/)
 *   [ bestweblayout ](https://profiles.wordpress.org/bestweblayout/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/enhanced-search-form/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://oogami.name/donate/)