Beskrivelse
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
}
Anmeldelser
Der er ingen anmeldelser for denne widget.
Bidragsydere & udviklere
“Simple Category Search” er open source-software. Følgende personer har bidraget til dette plugin.
BidragsydereOversæt “Simple Category Search” til dit eget sprog.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
0.2.1 – April 29, 2014
Source code refactoring
0.2.0 – September 15, 2011
Initial release.