Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1210032

    None of the widgets are editable. I disable ALL plugins, cleared cache and still no luck.
    My PHP version: 7.3.17
    Enfold version: 4.74
    Tried adding a new widget and it is not editable.
    Appearance > Customize does not load

    #1210134

    Hey JPGlobal,

    Did you try Appearance > Widgets?

    Best regards,
    Jordan Shannon

    #1210797

    Yes, that was the first place I tried to edit.

    #1210799

    Using same theme and plugins on 30+ sites. This is the only one with this issue.

    #1210826

    Hi JPGlobal,

    The problem is in the child theme, specifically this code, which I have already modified:

    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 );

    Updated Code (this adjustment only means run this code only in the frontend of the site):

    function defer_parsing_of_js ( $url ) {
    	if( !is_admin() ) {
    		if ( FALSE === strpos( $url, '.js' ) ) return $url;
    		if ( strpos( $url, 'jquery.js' ) ) return $url;
    		return "$url' defer ";
    	}
    	return $url;
    }
    add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );

    Appearance > Customize is now working again. :)

    Best regards,
    Nikko

    #1211194

    Nikko….YOU ROCK! That’s something I never would have found. Thank you very, very much.

    #1211200

    Hi JPGlobal,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Widgets NOT editable’ is closed to new replies.