[Support request] Customizer showing only Widgets

Home Forums Support Customizer showing only Widgets

  • This topic has 7 replies, 4 voices, and was last updated 1 month ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1400618
    Espresso

    Hi there,

    Customizer is only showing Widgets. Not sure if it was the WordPress update. It works with the theme “Twentyseventeen”.

    I have disabled all plugins but still nothing.

    This is what I see when I click inspct on the Customizer button:
    [DOM] Found 4 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq)

    Thank you!

    Dan

    #1400659
    David
    Staff
    Customer Support

    Hi there,

    can you clear any plugin / server caches. And clear any browser cache and temporary files.

    Let me know.

    #1400849
    Espresso

    Hi David,

    tried to disable everything and clear all caches.

    Nothing worked. Only if we change theme.

    #1401160
    Leo
    Staff
    Customer Support

    Does reinstalling the theme and premium plugin help at all?

    Are you using a child theme?

    Any custom functions?

    #1413149
    g33kgirl

    I am having the same issue. Customizer is only showing Widgets. I have tried disabling plugins, switching back to parent theme, removing all unnecessary functions, etc.. but nothing happens. Could this be a compatibility issue?

    #1413154
    Espresso

    Mine resolved when I removed all functions from the file Functions.php

    #1413156
    g33kgirl

    Found the solution here. Seems like there is some sort of conflict with WordPress 5.5

    This code needs to be added to the theme’s functions.php:

    if( is_admin() ){
    	add_action( 'wp_default_scripts', 'wp_default_custom_scripts' );
    	function wp_default_custom_scripts( $scripts ){
    		$scripts->add( 'wp-color-picker', "/wp-admin/js/color-picker.js", array( 'iris' ), false, 1 );
    		did_action( 'init' ) && $scripts->localize(
    			'wp-color-picker',
    			'wpColorPickerL10n',
    			array(
    				'clear'            => __( 'Clear' ),
    				'clearAriaLabel'   => __( 'Clear color' ),
    				'defaultString'    => __( 'Default' ),
    				'defaultAriaLabel' => __( 'Select default color' ),
    				'pick'             => __( 'Select Color' ),
    				'defaultLabel'     => __( 'Color value' ),
    			)
    		);
    	}
    } 
    #1413179
    Leo
    Staff
    Customer Support

    Keep in mind that anything added to the parent theme’s function.php then it will be erased during updates.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.