Viewing 1 replies (of 1 total)
  • Thread Starter activewebsight

    (@activewebsight)

    OK, as the developers don’t respond this question, here you go:
    ADD to functions.php of your Child-Theme


    add_action('init', 'excludePostTypeFromSearch', 99);

    function excludePostTypeFromSearch(){
    global $wp_post_types;

    if(post_type_exists('responsive_accordion') && isset($wp_post_types['responsive_accordion'])){
    $wp_post_types['responsive_accordion']->exclude_from_search = true;
    }
    }

Viewing 1 replies (of 1 total)

The topic ‘How to exclude the Responsive Accordions from Ajax Search / Search in general’ is closed to new replies.