• I works quite well right out of the box. I had to make some small changes to make it run flawless with Visual Composer and (my implementation of) search:

    (in functions.php, theme folder):
    add_filter(‘autoptimize_filter_noptimize’,’admin_nooptimize’,10,0);
    function admin_nooptimize() {
    if (is_user_logged_in()) {
    if (strpos($actual_link, ‘?vc_editable=true’) !== false) {
    return true;
    }
    } else {
    if (is_search()) { return true; }
    }
    }

  • The topic ‘Works right out of the box’ is closed to new replies.