Description
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-search
folder 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
}
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Simple Category Search” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Simple Category Search” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.2.1 – April 29, 2014
Source code refactoring
0.2.0 – September 15, 2011
Initial release.