Problems embedding a Javascript form in Gateway theme
-
Hi, I’m trying to embed this Mailchimp signup widget in the sidebar of Gateway:
‘<!– Begin MailChimp Signup Form –>
<link href=”//cdn-images.mailchimp.com/embedcode/slim-10_7.css” rel=”stylesheet” type=”text/css”>
<style type=”text/css”>
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id=”mc_embed_signup”>
<form action=”//wordpress.us11.list-manage.com/subscribe/post?u=ddb752398892684835df54596&id=6714bcb842″ method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank” novalidate>
<div id=”mc_embed_signup_scroll”>
<label for=”mce-EMAIL”>Subscribe to our mailing list</label>
<input type=”email” value=”” name=”EMAIL” class=”email” id=”mce-EMAIL” placeholder=”email address” required>
<!– real people should not fill this in and expect good things – do not remove this or risk form bot signups–>
<div style=”position: absolute; left: -5000px;” aria-hidden=”true”><input type=”text” name=”b_ddb752398892684835df54596_6714bcb842″ tabindex=”-1″ value=””></div>
<div class=”clear”><input type=”submit” value=”Subscribe” name=”subscribe” id=”mc-embedded-subscribe” class=”button”></div>
</div>
</form>
</div><!–End mc_embed_signup–>’
but it just displays the code rather than running it. Class=”clear” and Class=”button” seem to be used in both the theme css and the form css, but changing that in the form code seems to make no difference. I’d really appreciate some advice. Thank you
The blog I need help with is: (visible only to logged in users)
-
Hi there, Javascript is not allowed at WordPress.com for security reasons.
We do have a MailChimp Subscriber Popup Widget. You may wish to take a look at that and see if that will work for you.
-
Thank you! Is there no way of setting up a mailing list subscription form on a blog without creating a pop up then?
-
Embedded MailChimp forms are not yet supported at WordPress.com, only the popup right now.
- The topic ‘Problems embedding a Javascript form in Gateway theme’ is closed to new replies.