akostrubiak
Forum Replies Created
-
@wpmnger, would adding my function to the end of wp_enqueue_scripts be the “appropriate” place for that code? It’s been a while since I’ve had my head deep inside wordpress.
Thanks!
Maybe there’s a more proper way to do it, but inserting the following into your functions.php file seemed to do the trick for me.
add_action('init', 'my_mcsf_fix', 10); function my_mcsf_fix() { wp_dequeue_style('mailchimpSF_main_css'); wp_dequeue_style('mailchimpSF_ie_css'); }You can create a function in your functions.php and add these lines to remove the css [snip]
Awesome, thanks – that did the trick.
Still curious though if always loading those styles is the “correct” behavior. Either way, this fix solves my issues 🙂
Forum: Plugins
In reply to: [Store Locator Plus®] fatal errorWell looks like my host is using PHP Version 5.2.17 on my server.
Still not sure why you’d need that anonymous function, if it’s just returning the string. Again though, I haven’t looked at or taken the time to understand the code.Forum: Plugins
In reply to: [Store Locator Plus®] fatal errorAlso, for what it’s worth, if your site is down but you still have FTP access, you can move the /wp-content/plugins/store-locator-le/ directory out from under /wp-content/plugins/ and your still come back to life again, sans the Store Locator plugin.
Forum: Plugins
In reply to: [Store Locator Plus®] fatal errorGiving this all of 2 minutes of thought, I’m not sure of why this
$this->parent->helper->setData( 'theme', function($_this) { return $_this->parent->settings->get_item('theme'); }, $this );isn’t this:
$this->parent->helper->setData( 'theme', $_this->parent->settings->get_item('theme'), $this );Again, haven’t looked at the code and certainly don’t understand it, but maybe this is the issue?