Cornerstone Custom Post Type Filter Radio Button and Search Keyword
By NetCreative
()
Working with the latest WP update
Working with the latest Cornerstone update
This is a component working with Themeco Cornerstone Theme Builder. It won’t work on its own. If you are already a user or wish to become one (and I think you should :)), of Cornerstone Theme Builder, then this filter is for you.
If you are looking for an alternative to premium plugins like Search and Filter Pro or Search WP, then you are in the right place. This is a simple filter component created using only Cornerstone component parameters, a few lines of jQuery, and a bit of PHP.
Fields can be displayed as radio button style, it will filter all the selected posts. You can add up to 7 taxonomy parents in this version, and as many child terms as you want.
To see the limitations, please refer to the ‘Key Features’ section below.
This comes with two files:
- Search-keyword-and-filter-radio-btn-v-1.tco.zip
- Search-keyword-and-filter-radio-btn-V1.zip
Unzip the first file, search-keyword-and-filter-radio-btn-v-1.tco.zip
, and import it into the template section of your Cornerstone Theme Builder.
Do not unzip the second file, search-keyword-and-filter-radio-btn-v1.php.zip
. Instead, go to your WordPress dashboard > Plugins > Add New, click on Upload Plugin, locate the second file on your computer, and upload it. After uploading, make sure it is activated.
Version v.1
New name search-keyword-and-filter-radio-btn-v-1
- Added a search keyword field that works with meta-query data, such as ACF fields, allowing users to search for specific keywords within the metadata you want to include. The search results will be displayed in the result container.
- To optimize the search process, metadata must be input manually, ensuring the search is restricted to relevant data instead of scanning the entire database.
It uses a query from a php files to filter the posts by post type and displays the results in Cornerstone.
You can configure the options inside Cornerstone without the need for extra plugins.
You can search for keywords within posts and display the results.
Filter posts from multiple custom post type
Exclude some post ID / order / order by
Filter in modal for mobile view
Search by keyword field
One-Time Payment
$9.99USD
3 Months of Support
Component Setup Support
Quality Checked
*Price in US dollars including all fees
30 days Money Back Guarantee
3 months Support
Component Setup Support
Previous Version
Version v.1.2
Old name cornerstone-sort-filter-radio-button-component-v-1-2
- Added an identical filter as you set up in a modal. This will allow you to display the filter in a modal for mobile view (portrait and landscape).
- You can use one of the 4 predefined styles to style your radio buttons. The predefined styles are as follows: circle, circle+checkmark, square, square+checkmark.
Version v.1.1
- Added an identical filter as you set up in a modal. This will allow you to display the filter in a modal for mobile view (portrait and landscape).
- You can use one of the 4 predefined styles to style your radio buttons. The predefined styles are as follows: circle, circle+checkmark, square, square+checkmark.
Version v.1.0
Filter post using terms, add up to 7 taxonomy parents in this version.