Search and Filtering for Custom Posts, Categories, Tags, Taxonomies, Post Dates and Post Types
empty_search_url- when a users submits the search form without any search preferences selected they will be redirected to this URL
add_search_param- setting to
1will force add a "?s=" to all urls generate by the plugin - this may help with the loading of search templates in some themes
all_items_labelswhich allows for support for custom
all_itemslabels in taxonomies, categories, post tags and post types when using
radiotypes - the default text displaying "All Categories" for example can now be defined using
show_countto arguments - this shows how many posts are in a particular term, in brackets after the term name - works only for categories, tags and taxonomies
add_search_param- setting it to
1will force a "?s=" or "&s=" to be added to the url even when the search is blank - in some circumstances this will force load the search template, instead of other WP templates, such as taxonomy or category templates
multiselectas the type for your field
operatorsargument with allowed values of
taxonomiesis now no longer appropriate as this list contains field types other than taxonomies - this list now contains taxonomies,
taxonomiesas an argument is still supported however will be deprecated
searchin the fields list in the position desired. Upgrading from previous versions will cause you to lose your search box, simply include
searchin the fields list to show it again
searchargument as no longer relevant - control display of search input by adding it to the
labelhas been renamed to
headingsto avoid confusion with internal taxonomy labels - the
headingsargument now allows for any text to be added and displayed as a heading for each field - this allows for much more flexibility and no longer uses internal taxonomy labels - to hide a label simply leave blank
order_byargument - allowed values are
order_dirargument - allowed values are 'asc' or 'desc'
post_datefunctionality to work with older versions of WP - can be displayed either as
post_datefield uses the HTML 5 input type of
date- browsers that do not support it will simply show a text box - a tutorial of integrating jquery for graceful degredation is in the works
submitlabelstill works for now.
typestill works for now.
bradaricfor help with hierarchical dropdown lists and date input types - https://github.com/bradaric
daterange(WP 3.7+) type
attachmentpost type is excluded) - all post types can be user searchable or predfined and hidden from the user. This allows for users to add multiple search widgets to their site which work on specific post types independantly from eachother.
label->all_itemsin taxonomy object for dropdowns before using
Requires: 3.5 or higher
Compatible up to: 4.4.3
Last Updated: 6 months ago
Active Installs: 10,000+
12 of 40 support threads in the last two months have been marked resolved.
Got something to say? Need help?