WordPress.org

Ready to get started?Download WordPress

Forums

Newsletter Sign-Up
[resolved] adding to a page or post? (10 posts)

  1. Jon
    Member
    Posted 3 years ago #

    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.

  2. Danny van Kooten
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  3. Danny van Kooten
    Member
    Plugin Author

    Posted 3 years ago #

    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

  4. kateM82
    Member
    Posted 3 years ago #

    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

  5. Danny van Kooten
    Member
    Plugin Author

    Posted 3 years ago #

    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!

  6. Danny van Kooten
    Member
    Plugin Author

    Posted 3 years ago #

    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

  7. Dave Lewis
    Member
    Posted 2 years ago #

    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?

    http://www.davelewisgroup.com

  8. bogastyle
    Member
    Posted 2 years ago #

    Hi Danny,

    Thanks for great work!
    Is this

    if(function_exists('nsu_signup_form')) { nsu_signup_form(); }
    allready work?

  9. Danny van Kooten
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Bogastyle,

    Yes it does, atleast if you're using Newsletter Sign-Up > version 1.4. :)

  10. bogastyle
    Member
    Posted 2 years ago #

    Thank you Danny,

    I tested it meanwhile! ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic