WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] add subscription form below post content (3 posts)

  1. omoutfitters
    Member
    Posted 1 year ago #

    Hi there,

    I'd like to add a jetpack subscription form below the content of every post. I know you can add the shortcode [jetpack_subscription_form] to add the form to "any" post or page. I'd like to know where I can put the shortcode to add the form to "every" post, not page, just below the content of the post. Ideally both in individual posts as well as the blog-style homepage.

    http://www.girlwithblog.net is the site I'd like to add this on.

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    You could use do_shortcode to insert the shortcode in your single.php template, right under the content.

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

    You can read more about this function here:
    http://codex.wordpress.org/Function_Reference/do_shortcode

  3. omoutfitters
    Member
    Posted 1 year ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic