Support » Theme: i-craft » Customizer won’t work with child theme

  • Sorry to bombard you – but I am sure you’d rather know issues. The customizer won’t load website preview and won’t allow any customisations. This is when using a child theme.

Viewing 1 replies (of 1 total)
  • It’s down to adding the following code I add to all my sites for defer parsing of javascript:

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
    if ( strpos( $url, ‘jquery.js’ ) ) return $url;
    return “$url’ defer “;
    add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );

Viewing 1 replies (of 1 total)
  • The topic ‘Customizer won’t work with child theme’ is closed to new replies.