07/29/2014 at 1:22 pm
#298442
Keymaster
@ Karen
I’m thinking you are looking for a category multi-select feature, where a user can choose more than one category, yes?
This is possible using a beta feature which is a little broken at the moment but can be made to work.
First, add the enable_category_multi_select shortcode option to you shortcode. You should have something like:
[connections enable_category_multi_select='true']
Activate the cMap template on the Connections : Templates admin page.
Now, install the Code Snippet plugin.
Add a new snippet with the following code:
function cn_cmap_add_submit_button( $atts, $results ) {
if ( $atts['enable_category_multi_select'] ) {
cnTemplatePart::submit( array( 'return' => FALSE ) );
}
}
add_action( 'cn_action_list_before-cmap', 'cn_cmap_add_submit_button', 99, 2 );
Save and activate the snippet.
Now, your users will be able to select multiple categories to filter the results by.
Hope that helps!
