Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Simple Category Search

Beskrivning

You can choose (child) categories and see the posts belong to the chosen category with AJAX.

When the category you choose from the list box has child categories, the child categories will be shown in a new list box.
Clicking the ”Search” button, the list of posts belong to the bottom category which you choose will be displayed under the ”Search” button.

Installation

  1. Upload the entire simple-category-search folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Use the following code in your Post or Page:

    [category-search]

Plugin Usage

After enabling the plugin, put the short code below into a page or a post.
[category-search]

Confining to a specific category, put the category ID like below.
[category-search parent=10]
(Put the category ID after ”parent=”.)

The list box is wrapped by ”div.categories_search”, the search result is wrapped by ”div.search_result”.
You can apply CSS as you like.

e.g.)
.categories_search select{
display:inline;
margin-right: .25em;
float:left;
height:22px
}

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Simple Category Search” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Simple Category Search” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.2.1 – April 29, 2014
Source code refactoring

0.2.0 – September 15, 2011
Initial release.