Home Forums Newsletter Plugin Support Categories to INCLUDE option not EXCLUDE

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9116
    dtavares
    Participant

    Hi I’m new and just installed this plugin (pro version) and I’m trying to figure out how to send a newsletter feed thats contains posts with one particular category. Problem is if I exclude all other categories I won’t have any emails sent out as all posts contain multiple categories (ones that have been excluded). I just want all posts that contain this category to be sent out. How can I do this? Thanks!

    #9146
    dtavares
    Participant

    For anyone else interested in doing this I did it easily by changing the two occurrences of:
    $this->feed_excluded_categories .= ‘-‘ . $c->cat_ID . ‘,’;
    in newsletter-pro/plugin.php to:
    $this->feed_excluded_categories .= $c->cat_ID . ‘,’;

    Also you might want to change in newsletter-pro/feed.php:
    <th>Max posts and categories to EXCLUDE</th>
    TO:
    <th>Max posts and categories to INCLUDE</th>

    So you know its changed.

    And you will have to make this change with every time you update the plugin.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.