• Resolved Jon

    (@ezkim0x)


    is it possible to just add the newsletter signup to a page or post?

    I tried adding in this code:

    <?php ns_comment_checkbox(); ?>

    but all it does is put the checkbox and ‘sign me up to your newsletter’ or whatever you put in that textbox.

    i just want a spot for them to enter their email and hit subscribe.. or something.. and then add them to my mailchimp list.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Jon,

    Stay tuned for the next release. I’ll add a shortcode (and a PHP function) that you can use in your posts / pages or template files.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Jon,

    Please update to v1.4 of Newsletter Sign-Up which I just committed to the WordPress repository. Then you can use the shortcode [newsletter-sign-up-form] in your posts to show a sign-up form!

    Let me know what you think of it, and if you experience any bugs!

    – Danny

    Hi Danny,

    I’d love to get the php version of that short code so I can add it to my template. Thanks, great plugin by the way!!

    I use Mad mimi and it worked perfectly

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi kateM82,

    Great idea, i’ll add an easy alias function which you can call from your template files. You can expect an update today or tomorrow. ??

    And thanks!

    Plugin Author Danny van Kooten

    (@dvankooten)

    Updated, v1.4.1 contains a function which you can call from your theme files. ??

    Use if(function_exists('nsu_signup_form')) { nsu_signup_form(); } to embed a sign-up form in your template files.

    Newsletter Sign-Up

    This all sounds great!
    I created an icon on my blog and directed that to a page where I want to embed the sign up sheet. The code you provided only shows empty input boxes and the attributes like email and name doesn’t show?

    https://www.davelewisgroup.com

    Hi Danny,

    Thanks for great work!
    Is this

    if(function_exists(‘nsu_signup_form’)) { nsu_signup_form(); }

    allready work?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Bogastyle,

    Yes it does, atleast if you’re using Newsletter Sign-Up > version 1.4. ??

    Thank you Danny,

    I tested it meanwhile! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘adding to a page or post?’ is closed to new replies.