How To Prevent Post Optin Form From Displaying In Certain Category

Best Wordpress plugin to engage your users and collect their email. You can use header alerts, popups, or exit pages, and it works with any popular emailing service such as Mailchimp or AWeber
Rcollins
Junior Member
Posts: 9
Joined: Sat Jul 28, 2012 1:52 am

How To Prevent Post Optin Form From Displaying In Certain Category

Post by Rcollins »

Hi Team,

I would only like to display the Post Optin Form in one category on my blog, and prevent it from displaying on all others.

Is this possible?

Thank you!

Ryan
Jean-Christophe Bisoux
Posts: 283
Joined: Tue Feb 28, 2012 10:36 am
Location: Canillo, Andorra

Post by Jean-Christophe Bisoux »

Hi,

The Post Opt-in Form will be applied to all of your posts.
But the custom opt-in form could be used to display your subscribe form anywhere on your blog just by calling: <?php wps_custom_form('...'); ?> (in template file) or [wps_custom_form id=...]
(in post/page content or in Custom Popup) just in your template add an "if" sentence to chose the category

Regards,
JC
Rcollins
Junior Member
Posts: 9
Joined: Sat Jul 28, 2012 1:52 am

Post by Rcollins »

Excellent, I will give that a try.

Thank you JC!
Post Reply