I’ll need to get a copy of that framework to duplicate that problem. Most likely they are loading the widgets in a unique way so our script doesn’t even get a chance to run.
I’ll reach out to them and let you know what I find. Thanks!
Actually, we’ve done some work with them before and I have a copy of a parent theme that has a Unyson Framework in it. That seems to work just fine with Google Places.
Can you provide me a screenshot of the problem you’re experiencing? Also, which theme of theirs are you using specifically?
Thanks!
Thread Starter
ddayco
(@ddayco)
I actually think this is related to this other ticket. Are you using the “Custom Sidebars” plugin by WPMUDEV?
Take a look at this ticket and you’ll see a simple CSS fix at the bottom:
https://ww.wp.xz.cn/support/topic/conflict-with-wpmudev-custom-sidebars?replies=6
Thread Starter
ddayco
(@ddayco)
I’m not using that plugin, but it seems like there might be something similar built into the theme. I tried adding the css anyway, but it didn’t help.
OK, I’m waiting on access to the theme from ThemeFuse. I’ll keep you posted. Thanks!
I just got a copy of the theme with the Framework and working on replicating your issue now. Will update in a bit.
Hi there,
Their framework is also enqueuing the Google Maps API javascript file, and having them both enqueued on the widgets page at the same time means they don’t play nice together. So this snippet removes their script just from the widgets page. The rest of the site should work as expected:
function wordimpress_dequeue_script($hook) {
if( $hook != 'widgets.php' )
return;
wp_deregister_script( 'maps.google.com' );
wp_dequeue_script( 'maps.google.com' );
}
add_action( 'admin_enqueue_scripts', 'wordimpress_dequeue_script', 100 );
You can add that snippet directly into your functions.php file if you like. If you need a more detailed guide on implementing custom PHP snippets on your site we wrote this for that purpose:
https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/
Thanks!
Thread Starter
ddayco
(@ddayco)
Perfect! Thanks so much for taking the time to sort this out. Working great now.