A useful plugin for creating search forms & results pages for custom post types & taxonomies.
The Advanced Custom Post Search (ACPS) plugin can be easily integrated into any WordPress theme that uses widgets. Not only this but you can also integrate a search form into any post, page or WordPress template using our simple shortcodes.
Featuring unlimited, fully-customisable forms from which you can quickly search (by taxonomy term[s]) and display your custom post type results.
ACPS harnesses WordPress’ own tax queries to provide flexible results pages that address the lack of built-in taxonomy & custom post type search options.
Additional to this, we have also integrated theme functionality for developers who feel comfortable with adding their own folders and files. For more information on how to do this, see the FAQ.
Here are some of the main features:
Please visit our website for more free WordPress plugins.
Installing and using ACPS couldn’t be simpler:
/advanced-custom-post-search/
to the /wp-content/plugins/
directoryHere is the ‘Form List’ page. It’s sole purpose is to allow you to add,edit and trash your search form(s).
This is an example of how the ‘Form Edit’ page looks and specifically what sort of options you are likely to expect.
This shows the default form in both shortcode (left) and widget (right) format, demonstrated in the ‘twentyfourteen’ theme.
Here is a typical results page, also demonstrated in the ‘twentyfourteen’ theme.
No, but you will need at least one to create a form.
No, but you will need at least one of each before you can create a functional form.
The error specifically addresses configuration issues so check you have custom post types, taxonomies and terms created.
ACPS allows you to override the default results page and loop by adding the files ‘acps-results_loop.php’ and ‘acps-results.php’ in a number of places in your active theme folder. Either copy the file(s) into the ‘/wp-content/[theme_directory]/acps/templates’ or ‘/wp-content/[theme_directory]/‘ directory to override the default templates.
The results pages work off of the standard WP_Query loop and therefore list any options based on the filters you selected. Make sure you have published the posts you are trying to find.
As of version 1.1 you are able to setup your own results pages instead of using the default ‘advanced-search’ page, you can access the options for this on the plugin’s settings page.
Be sure to include the results shortcode [acps_results] in the content area (or in the theme template), without this the results will not load.
The results section is setup through ACPS’ acps_results class, you need to use ‘$this->acps_args’ in your WP_Query setting otherwise no query parameters will be set.
Since version 1.1 you can use the built in form style option which can be found on the plugin’s general settings page or alternatively just include any styles in your own stylesheets. Classes are added to your form(s) to make styling easy, they are based on a number of things including the following: labels/no labels, shortcode/ widget, inside titles/ outside titles, custom container class.