WordPress.org

Ready to get started?Download WordPress

Forums

Easy Automatic Newsletter Lite
[resolved] [Plugin: Easy Automatic Newsletter] How to add newsletter signup to a post instead of the sidebar (3 posts)

  1. aqiyl2004
    Member
    Posted 1 year ago #

    How do I add the newsletter signup to a post instead of the sidebar?

    http://wordpress.org/extend/plugins/easy-automatic-newsletter/

  2. Camerah
    Member
    Posted 1 year ago #

    I am also looking for an answer to this. I would love a shortcode and or a link that I can send to individuals.

    Thank you.

  3. aqiyl2004
    Member
    Posted 1 year ago #

    I found an answer. You need to make multiple single.php files that are called by categories. Save your single.php like something like single-normal.php . Copy the below code into you single.php file. I have two other single.php files called for categories (subscribe and 60). You can see how the newsletter signups are called here:

    Regular call: http://naturallifeenergy.com/
    Called in newsletter signup page: http://naturallifeenergy.com/subscribe/

    single.php

    [?php
    /*
    Template Name: Single Blog Post Template
    */
    ?]
    [?php
    if (in_category('subscribe')) {include (TEMPLATEPATH . '/single-1.php');
    }
    elseif (in_category('60')) {include (TEMPLATEPATH . '/single-privacy.php');
    }
    else { include (TEMPLATEPATH . '/single-normal.php');
    }
    ?]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.