MailChimp Plugin no longer falling over to alternaitve
-
Hi
Having just upgraded (both WordPress to 3.1.3 and Mail Chimp Widget to version 0.8.6), I’ve hit a problem with my MailChimp plugin. It used to fall over to an alternative if the page was loaded by someone who had already signed up, using the following code:
<?php if ( function_exists('dynamic_sidebar') && (dynamic_sidebar('MailChimp-frontPage') || dynamic_sidebar('MailChimpAlternative-frontPage')) ) {} ?>
Inside the MailChimp Plugins ‘widget’ function there is a test to see if appropriate cookies have been set, and if so to return 0. I have bypassed this test and now force it to return 0. It still fails to fall over to the alternative.
I’ve now tried the following:
<?php print_r (dynamic_sidebar('MailChimp-frontPage'));?>
And it appears that the php in my template is now seeing this as returning 1.
Can anyone tell me what may have changed recently in the underlying logic, and how to restore this plugin to falling over when people have already signed up, to avoid a big gap in my page?
Many thanks.
–Lisa
[moved to Plugin and Hacks forum]
- The topic ‘MailChimp Plugin no longer falling over to alternaitve’ is closed to new replies.