Membership Logic to Enable or Disable Popups for Popular WordPress Popup Plugins

Using popups to generate more membership signups or show exclusive offers to members only can be a great addition to your membership site. But, how do you filter popups to target the RIGHT audience?


Enter the filters…

The code recipes below demonstrate how to filter popups based on the user or site visitor’s membership level. We like using this method in combination with the new Signup Shortcode Add On for a streamlined “Unlock this post now” experience.

This post covers the filter methods for Popup Maker, Popups – WordPress Popup, Popup Builder, and Optin Monster.

If you are using a different popup plugin, post a topic on our support forum (members-only) and we will help you with the filter for your setup.

Popup Maker — WordPress Repo | Plugin Homepage

When I began this post, I was looking in the WordPress plugin repository for a basic, open source popup plugin with simple styling options: enter Popup Maker.

This code recipe will filter the display of a popup using Popup Maker’s pum_popup_is_loadable filter. The recipe hides the popup if there is a logged in user with membership level ID 1. You can modify the recipe for your level IDs, or change the conditional to require level ID 1 or an array of level IDs.

This code recipe requires a PMPro Plus Account or higher.

View Membership Options


Popups – WordPress Popup — WordPress Repo | Plugin Homepage

This open source option is loaded with integrations for popular third-party form plugins and engagement tools. There are some built-in filters for the popup display cases, just not for membership level…

This code recipe will filter the display of a popup using the Popups plugin’s custom rules filter. The recipe enables the popup ONLY for a logged in user with membership level ID 1. You can modify the recipe for your level IDs, or change the conditional to hide for level ID 1 or an array of level IDs.

This code recipe requires a PMPro Plus Account or higher.

View Membership Options


Popup Builder — WordPress Repo | Plugin Homepage

This is a more bare-bones popup option, but for my testing did just what I needed it to do without hassle.

This code recipe will insert the selected popup shortcode via wp_footer throughout your site to any non-member. You can modify the recipe for your level IDs, or change the conditional to hide for level ID 1 or an array of level IDs.

This code recipe requires a PMPro Plus Account or higher.

View Membership Options


OptinMonster — Plugin Homepage

OptinMonster is more than just a popups plugin, with premium features for inserting optin forms in posts, in a floating bar, based on exit-intent and more. A paid account (starting at $49/yr) is required to use the plugin.

This code recipe will remove the optin using a script placed via the wp_footer action. The recipe hides to popup for all logged in users with any membership level. You can modify the recipe for your level IDs, or change the conditional to enable the popup for members only.

This code recipe requires a PMPro Plus Account or higher.

View Membership Options


If you are using a different popup plugin, post a topic on our support forum (members-only) and we will help you with the filter for your setup.

Using AffiliateWP with Paid Memberships Pro

logoWe recently helped a client set up AffiliateWP – a fully featured Affiliate Marketing Plugin for WordPress that tracks sales and offers ways to automatically send payments. This plugin has built-in Paid Memberships Pro integration. If you’re looking to offer an affiliate program for your membership sales, this plugin should be at the top of your list.

Learn more about AffiliateWP


Integration Guide for Paid Memberships Pro

Paid Memberships Pro is natively supported by AffiliateWP. To activate the Paid Memberships Pro integration, in the WordPress admin go to Affiliates > Settings > Integrations and check the box that says Paid Memberships Pro

Screen-Shot-2014-04-07-at-3.13.28-PM

Once enabled, AffiliateWP will automatically generate referral records when a member successfully registers for your site after clicking on a referral link.


Viewing Membership Checkout Referrals

In the WordPress admin go to Affiliates > Referrals. The Reference column refers to the Order ID in Paid Memberships Pro.

Clicking on the Reference column will take you directly to the order record in Paid memberships Pro.


Referrals will only be credited on the membership initial payment, and will not be created when subscription payments are recorded. If you’d like referrals to be created on subscription payments, you will need the Recurring Referrals add-on.

MailPoet Paid Memberships Pro Add-on

The MailPoet developers have just posted a new Paid Memberships Pro add on, allowing your customers to subscribe to your MailPost newsletters as part of membership checkout. The plugin adds a checkbox on the checkout page where members can optionally subscribe to your MailPoet newsletters.

This plugin requires the MailPoet plugin and Paid Memberships Pro plugin.

MailPoet (formerly Wysija Newsletters) is a WordPress plugin that allows you to send newsletters, post notifications or autoresponders directly from your site’s WordPress admin.

View and Download at WordPress.org


Screenshots