Plugin / search-into-subcategories
lion2486Description
Description
For Demo go here http://codescar.eu/projects/search-into-subcategories
Search-Into-Subcategories plugin allows you to make a select-search shortcode for your own categories.
You can use if everywhere you want and make a tree structure for your categories.
[search-into-subcategories]
Arguments you can pass:
parent_category Default is 0
You can list only sub categories of the category id you give here. With 0 lists alla categories
max_depth Default is 2
How many subcategories (children of the parent_category) to display, at least 1.
search_input Default is 1
Display a text input for search. (You can turn it off with 0 value)
labels Default is <empty string>
Labels for the inputs. Give them in the order you want with '|' as separator. example: Category1|Category2|Text
search_text Default is Search
The text to display in search button.
hide_empty Default is 1
Hide categories without content, set to 0 to display all!
exclude Default is <empty string>
Category IDs to exclude from listing. Separate them with ','. Example: 6,7,13
show_date_ranges Default is 0
Show from/to date ranges to filter publish date. Set it to 1 to use it.
dates_format Default is DD-MM-YYYY
It requires the show_date_ranges to be enabled. It uses Pikaday JS Library (a small one) to create a datepicker
and manage the date formatting. (If you use spaces into the format, wrap it into single quotes 'like this').
(The formatting is generated by momentJS https://momentjs.com/docs/#/displaying/ )
custom_field Default is null
List of custom meta-fields to search in (it will create a new input for every meta-field.
( Use , as separator, example: field1,meta_key,etc )
custom_field_labels Default is null
List for labels in custom meta fields text input. (Use | as separator, example: name1|name2|etc)
custom_post_types Default is null
Post type to filter results
posts_per_page Default is null
Set result page posts per page
custom_taxonomy Default is category
Set custom taxonomy to walk.
Example:
[search-into-subcategories parent_category=0 max_depth=3 search_input=1 labels=cat1|cat2|cat3|Text search_text=Find
hide_empty=0 exclude=7,6 show_date_ranges=1 custom_field=author,my_custom
custom_field_labels=Author|Custom custom_post_types=documents posts_per_page=10
custom_taxonomy=my_taxonomy dates_format=YYYY-MM-DD]
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
Languages
The plugin hasn't been transalated in any language other than English.
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.