توضیحات
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)
عکسهای صفحه
نصب
- Upload this plugin to your WordPress plugin directory( generally wp-content/plugins/ ).
- Activate it in admin area.
- Your theme should have a hardcoded search form or you should add a “Search” widget to sidebar to allow visitors searching.
- 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.
سوالات متداول
- 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.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Enhanced Search Form” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Enhanced Search Form” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
گزارش تغییرات
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.

