BarryL

Member

Forum Replies Created

  • In reply to: Can NOT get functions to work… in child theme or otherwise

    #32701

    Awww heck, I forgot to copy the code for that over.

    For those that care, these little bits deregister unnecessary code from loading on the bulk of your site (contact-form-7 plugin is notoriously wasteful).

    Anyway, the missing code (s/h/b above the first two filter calls…)

    function _remove_script_version( $src ){
    $parts = explode( '?', $src );
    return $parts[0];
    }

    Call this one resolved, sorry for wasting your time…. Put it in child theme / functions.php with the surrounding ?php/ ? etc. and it worked like a charm.

Viewing 1 post (of 1 total)