Award MyCRED Points for Membership

If you’re using MyCRED or considering a system to award users for interacting with your WordPress powered website, this code recipe is for you. The article includes two recipes: one to award points at the initial membership checkout and another to award points with every recurring membership payment made. You can customize the point value…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Ninja Forms: Add Hidden Field for Membership Level

This recipe demonstrates how to include the user’s membership level in their Ninja Forms submissions. If a user is logged in and has a membership level, this code gist captures that Membership Level and saves it in the submission. Our updated recipe now offers support for Ninja Forms version 3+ as well as a previous…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Add a customized notification banner to alert your members of upcoming expiration.

This code recipe adds a notification banner to remind members that their account will expire within 7 days—or any custom timeframe you would like. You can use the recipes with any WordPress theme, or specifically with a membership site using Memberlite.

Putting Google Analytics to work for your Membership Site

No matter what type of membership site you operate, analytics on what your visitors and members are consuming most can be a huge asset for your marketing and development efforts.

This article will show you how to track “Membership Level” as a custom dimension in Google Analytics by leveraging a WordPress analytics plugin and a custom code recipe (below). Once configured, you will be able to create a custom report in Analytics to show Top Content for non-members and for specific membership levels. Boom.

Insert a “Renew Membership” button via custom shortcode to display a renewal link/button for members.

The code recipe below to creates a renewal button shortcode [pmpro_renew_button] that can be used to insert a “Renew Membership” button on your WordPress site….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Show a Member’s Level Name in Post Comments

When a member posts a comment on your site, the recipe below will display their Membership Level name following the comment author’s name. This can be useful for many membership sites, specifically sites that have multiple tiers of membership which equate to a member’s status, skill-level or denote a relationship to your company. The author…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Show a Member’s Expiration Date in a Page, Post, Widget, etc. via Shortcode

This simple code recipe creates a [pmpro_expiration_date] shortcode you can use in a page, post, widget, or pretty much anywhere on your site.

It shows the current logged in member’s expiration date or the expiration date for the user specified by the “user” attribute. The date is formatted per your site’s Settings > General > Date Format field. If there is no expiration or user, the shortcode displays “—“.

Methods to Totally Disable, Reroute, or Selectively Disable Paid Memberships Pro Emails to the Member/User or Admin

Paid Memberships Pro sends a variety of emails to the admin and member as related to their membership, subscription status, expiration, confirmation and more. If you’d like to alter the default distribution of these emails, below are a few methods to do just that. See a list of all PMPro-generated email here.