Beschreibung
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
- Upload the entire
simple-category-searchfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‚Plugins‘ menu in WordPress.
-
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
}
Rezensionen
Zu diesem Plugin liegen noch keine Rezensionen vor.
Mitwirkende und Entwickler
„Simple Category Search“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „Simple Category Search“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
0.2.1 – April 29, 2014
Source code refactoring
0.2.0 – September 15, 2011
Initial release.