Bug with Divi in the admin
-
Hello Jordy ;
I had the chance to test your plugin on a client’s website based on Divi…
Their gallery module is a crap, and I wanted to use the native WordPress Gallery system instead. But I needed a simple lightbox system to be able to enlarge and swipe between the images. Your plugin does perfectly that BUT…Then there is an incompatibility between Divi and your plugin that makes every edit impossible. A solution I found was to block your script in the backend :
/wp-content/plugins/meow-lightbox/js/mwl-build.js?ver=2.0.5For the one who want to solve this simply copy/paste that in “Code Snippets” :
function laugau_dequeue_script() { // Run the dequeue script with the handle of the JavaScript file wp_dequeue_script( 'mwl-build-js' ); // We could have also dequeue styles with the handle of the CSS file //wp_dequeue_style( $handle ); } add_action( 'wp_enqueue_scripts', 'laugau_dequeue_script', 100 );
Then don’t forget to activate the snippet “only on admin”.
I hope that can help some.And of course thanks a lot for your plugin ! ??
- The topic ‘Bug with Divi in the admin’ is closed to new replies.