Site logo

[Resolved] How To Add Newsletter Signup Form to Top of Blog

Home Forums Support [Resolved] How To Add Newsletter Signup Form to Top of Blog

Home Forums Support How To Add Newsletter Signup Form to Top of Blog

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1726600
    David

    I am currently customizing the “Coach” theme, and want to add a WP4MC newsletter signup for to the top of the blog, aligned center. There is currently one contained in the right side bar widget, however I plan to do away with the side bar, and opt for the blog layout used on the following site:

    https://www.orbitmedia.com/blog/

    Any recommendations on the best way to create this layout?

    #1726660
    Ying
    Staff
    Customer Support

    Hi David,

    Go to appearance > elements, see if there’s a header element assigned to Blog page.

    You can add the shortcode to this element.

    Let me know 🙂

    #1726820
    David

    Hi Ying,

    Thanks so much for the tip! I added some short code to the header and was able to create the following:

    screenshot of edited header

    Here’s the code I used:

    <h1 style=”font-size:17px”> Home To Him Blog </h1>

    <h1 style=”font-size:50px”> Your guide to understanding the Bible with Hebrew Interpretive Methods </h1>

    <h2 style=”font-size:34px”>Get Insights Delivered Weekly </h2>

    <script>(function() {
    window.mc4wp = window.mc4wp || {
    listeners: [],
    forms: {
    on: function(evt, cb) {
    window.mc4wp.listeners.push(
    {
    event : evt,
    callback: cb
    }
    );
    }
    }
    }
    })();
    </script><!– Mailchimp for WordPress v4.8.3 – https://wordpress.org/plugins/mailchimp-for-wp/ –><form id=”mc4wp-form-1″ class=”mc4wp-form mc4wp-form-512″ method=”post” data-id=”512″ data-name=”Demo” >

    <input type=”email” name=”EMAIL”style= “background-color: white;” placeholder=”Email Address” required />
    <input type=”submit” value=”SIGN ME UP” />

    <label style= “display: none !important;”
    }>Leave this field empty if you’re human: <input type=”text” name=”_mc4wp_honeypot” value=”” tabindex=”-1″ autocomplete=”off” /></label><input type=”hidden” name=”_mc4wp_timestamp” value=”1617909231″ /><input type=”hidden” name=”_mc4wp_form_id” value=”512″ /><input type=”hidden” name=”_mc4wp_form_element_id” value=”mc4wp-form-1″ />

    </form><!– / Mailchimp for WordPress Plugin –>

    #1726887
    Ying
    Staff
    Customer Support

    You are welocme!

    It looks very nice 🙂

    #1726963
    David

    Thanks Ying! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.