Plugin is Breaking Ability to Edit Blocksy Colors in Customizer

[ad_1]

It appears Event Tickets is somehow dequeuing or remove the wp-components stylesheet in the customizer. No clue why. Frustrating.

Hello @thekendog,

Thanks for getting in touch with us.

Do you happen to have any caching on a plugin or server level? If any, exclude our CSS and JS files from getting cached and see if that helps – https://theeventscalendar.com/knowledgebase/caching-basics/.

Also try to dequeue our JavaScript files and see – https://theeventscalendar.com/knowledgebase/dequeuing-javascript-files/.

I hope that helps.

Frank

I don’t have any caching on, the site is in development mode. I had to add the code below to get it to work.

add_action('admin_enqueue_scripts', function() {
global $wp_customize;
if ( isset( $wp_customize ) ) {
wp_enqueue_style('wp-components');
}
});

Hello @thekendog,

I’m glad to hear that enqueuing the styles in the customizer did the trick.

I’ll be closing this thread, and please do not hesitate to bump a new thread on our way. This is for us to track down topics/issues efficiently and for us to follow the WordPress Forum Guidelines.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer