This weekend I was having the hardest time trying to get the MailChimp Popup Subscription code to work on one of my client sites that’s using the Genesis Framework. I had placed the code in Genesis > Theme Settings > Header Script box and it worked. At least I thought it did.
The client sent me a text and said that she couldn’t click on anything on her website and that the popup only appeared on her blog page and not her home page. I was puzzled. So I opened up her site in Firefox, Chrome and Internet Explorer and low and behold.. Internet Explorer was behaving the way she described on her computer. After deactivating and re-activating her plugins I thought I had found the culprit and moved on. That’s when I noticed a few other things weren’t working, for example, the counts on her social share buttons were no longer there. Dang it, there’s a conflict.
So I removed the code and slept on it. I woke up and went, “Oh… wait a minute, let me try the Genesis Simple Hooks plugin!”
The Genesis Simple Hooks plugin allows you to insert code (HTML, Shortcodes, and PHP), and attach it to any of the 50+ action hooks throughout the Genesis Theme Framework, from StudioPress.
Follow these steps to get the MailChimp Popup to work properly.
Step 1 – Install the Genesis Simple Hooks Plugin
- Go to Plugins > Add New.
- Search for the “Genesis Simple Hooks” plugin.
- Install and activate it.
Step 2 – Adding Your MailChimp Popup Code
- Go to Genesis > Simple Hooks.
- Look for the “wp_head Hook” position.
- Insert your code into that box and save it. No need to check off any of the other boxes.
Now your MailChimp Popup Subscription form should be working properly. Go try it out!
Please note: The MailChimp Popup Subscription form is set to only appear one time. It will not show up for the same visitor again unless they clear their browser cache. If you want the popup to appear more than once, you may want to select another popup plugin.
Thank you so much!! I’ve been trying to do this to my website for weeks now and I was at a loss. Now my pop-up works perfectly!
Hi Maggie, so happy this worked out for you! Glad you found it!
I’ve been trying to make this work on my site. I was excited at first when I saw you also used the Genesis framework. Unfortunately, even after following your instructions, I couldn’t get it to work. Even tried different browsers, IPs, and another laptop to confirm that it didn’t work :/
Hi, click the technical support link and send me a message along with the site you want it on. I’ll reply via email.
Hi that is great and thanks. However, is there a way to generate the pop up only on particular pages?
Hi Paul, unfortunately MailChimp doesn’t offer that in their configuration of their default pop up code. However, you can use their regular code along with a Pop Up plugin to work with specific pages and posts.
This worked for me! Thank you so much!
You’re welcome!