Овај додатак није испробан са последња 3 главна издања Вордпреса.Можда се више не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

TC Specify Search Form

Опис

By default, the „Search“ widget in WordPress will include the searchform.php template file in your theme (if it exists), or the search code in wp-includes/general-template.php (if it doesn’t). However, if you want a distinctive search form (or forms!) to use as a widget, this allows you to enter it in using the „searchform-identifier.php“ format that you can use to distinguish other templates elsewhere in your theme. You just have to have that file set up in your theme with the HTML you want to use.

Example: If you want to have a distinct searchform file specifically for your widgets, create the template file and call it something like „searchform-widget.php“ (what goes between the dash and the dot is up to you, so long as it meets filename requirements). In the „Template“ field of the widget settings, enter only „widget“, and that searchform file will be called in your widget automagically.

Note: Actually coding the search form is up to you. That requires some theming skillz, but I have confidence in you!

To Do: Make a short-code version of this, for use in pages and posts.

Постављање

  1. Place the tc-specify-search-form directory inside your plugins directory.
  2. Navigate to the Plugins section of the Dashboard and click „Activate“.

Прегледи

Нема рецензија за овај додатак.

Сарадници и градитељи

„TC Specify Search Form“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

Преведите „TC Specify Search Form“ на свој језик.

Заинтересовани сте за градњу?

Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.

Белешка о изменама

Version 1.1

  • Updated to avoid PHP4 class constructor deprecation warnings.

Version 1.0

  • Initial release.