WordPress.org

Ready to get started?Download WordPress

Forums

Signup code into every post (5 posts)

  1. ofczi
    Member
    Posted 3 years ago #

    Hello Everyone,

    Does anybody know how to do the following?

    In my blog, at the end of every post I want to see the signup form for my newsletter.

    What code, where and how should I paste in?

    Thank you for your help.

  2. MichaelH
    Member
    Posted 3 years ago #

    Could use this http://wordpress.org/extend/plugins/simplr-registration-form/

    If you want WordPress to place the registration automatically in each post you would add code to the appropriate template (e.g. your theme's index.php maybe):

    <?php echo do_shortcode('[Register]'); ?>

    Also see:
    Stepping Into Templates
    Template Hierarchy

  3. ofczi
    Member
    Posted 3 years ago #

    Thank you, and what if I paste it in the post.php?

  4. MichaelH
    Member
    Posted 3 years ago #

    Well if post.php is the template that displays your posts then that would work.

  5. ofczi
    Member
    Posted 3 years ago #

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic