10/26/2015 at 2:05 pm
#351807
Keymaster
@ Jonathan
Seems like the javascript code should work… any here’s another way.
Install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_slim_plus_add_submit_button( $atts, $results ) {
if ( $atts['enable_category_multi_select'] && ! get_query_var( 'cn-entry-slug' ) ) {
cnTemplatePart::submit( array( 'return' => FALSE ) );
}
}
add_action( 'cn_action_list_before-slim-plus', 'cn_slim_plus_add_submit_button', 99, 2 );
Save and activate the snippet.
That should do it. Hope that helps!
ps. Do not forget to activate that new code snippet.
