Support » Plugin: Easy Automatic Newsletter Lite » [Plugin: Easy Automatic Newsletter] How to add newsletter signup to a post instead of the sidebar

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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’);
    }
    ?]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Easy Automatic Newsletter] How to add newsletter signup to a post instead of the sidebar’ is closed to new replies.