Quantcast
Channel: Code Recipes for Customizing Your Membership Site
Browsing index pages (377 articles)
↧

Image may be NSFW.
Clik here to view.

Secure Your Member Map With a Private Geocoding API Key

The Member Directory and Profile Pages Add On uses a single Google Maps API key for two different jobs: rendering the interactive member map in the browser with the Google Maps JavaScript API, and...

View Article


Image may be NSFW.
Clik here to view.

Allow Members to Create Weak Passwords During Reset or Profile Update

By default, Paid Memberships Pro enforces the same minimum password strength requirements as core WordPress on its Password Reset, Change Password, and profile update pages. This code recipe disables...

View Article


Image may be NSFW.
Clik here to view.

Offer Members a Discounted Rate for Upgrading to a Higher Level

Give existing members a lower price when they upgrade to a higher membership level, automatically, with no discount code required. This code recipe checks a member’s current level at checkout and...

View Article

Import User Meta Fields Stored as an Array via CSV

Paid Memberships Pro’s Import Members From CSV Add On lets you bulk-import members and their custom data from a spreadsheet. Most fields map over cleanly: a name, an email address, a single-choice...

View Article

Image may be NSFW.
Clik here to view.

How to Add Custom Reports to the Memberships Reports Admin in PMPro

Paid Memberships Pro includes five reports on the Memberships > Reports screen of the WordPress admin: Sales and Revenue, Membership Stats, Active Members Per Level, Visits, Views, and Logins, and...

View Article


Image may be NSFW.
Clik here to view.

Add a Renew Membership Button With a Shortcode

By default, Paid Memberships Pro shows members a “Renew” link on their Membership Account page, but that is the only place it shows up. If you want to prompt members to renew somewhere else, a...

View Article

Image may be NSFW.
Clik here to view.

Migrate ProfilePress Avatars to PMPro’s Avatar System

If your members uploaded custom avatars through ProfilePress, or its earlier version, WP User Avatar, those images do not carry over automatically when you move to Paid Memberships Pro’s own avatar...

View Article

Image may be NSFW.
Clik here to view.

Hide the WordPress Toolbar for Additional User Roles

Paid Memberships Pro’s built-in setting for hiding the WordPress Toolbar only covers members with the Subscriber role. If your site uses custom roles, whether through the Roles for Membership Levels...

View Article


Image may be NSFW.
Clik here to view.

Provide a Discount for Early Membership Renewal

Members who are on the fence about renewing often need a nudge before their membership lapses. A discount code can work, but it puts the burden on the member to remember it and enter it correctly, and...

View Article


Image may be NSFW.
Clik here to view.

Add a Description Field to Discount Codes for Admins

Discount codes pile up on a membership site. A code from a holiday sale, a partner deal, a one-off gift for a member. After enough time passes, it is not always clear why a particular code exists or...

View Article

Image may be NSFW.
Clik here to view.

Hide Free Levels From the Membership Levels Page

Not every membership level on your site is meant for public signup. You might have a free trial level created for testing, a legacy level some members were grandfathered into, or a level that only...

View Article

Image may be NSFW.
Clik here to view.

Offer a Membership Level for a Limited Time

Some memberships only make sense to offer for a set window: enrollment for one class session, an early-bird cohort, a founding-member group that closes once it fills. Once that window passes, you want...

View Article

Image may be NSFW.
Clik here to view.

Send a Different Approval Email Based on Membership Level

If your site uses the Approval Process for Membership Add On and offers more than one membership level, the default approval email sends the exact same message to every approved member, regardless of...

View Article


Image may be NSFW.
Clik here to view.

How to Keep the Existing Expiration Date as the Renewal Date for a Subscription

Members with fixed-term or one-time memberships can renew their membership. During renewal, they may also choose to switch to a recurring subscription for the same level. By default, Paid Memberships...

View Article

Image may be NSFW.
Clik here to view.

Turn Your WooCommerce Store Into a Catalog for Non-Members

If you sell products through WooCommerce but only want paying members to see prices and complete a purchase, you need a way to turn browsing into a members-only privilege. This is common for wholesale...

View Article


Remove or Change “The price for membership is $0.00 now” for Free Membership...

By default, Paid Memberships Pro outputs what a membership level costs, and for free levels, that text says, “The price for membership is $0.00 now.” On a site with a mix of free and paid levels, this...

View Article

Image may be NSFW.
Clik here to view.

Use a Media File Like a PDF as Your Terms of Service

Paid Memberships Pro’s built-in Terms of Service setting normally only lets you point to a Page. If your terms already exist somewhere else, like a PDF a lawyer signed off on, you are stuck copying...

View Article


Exclude Certain Email Domains From Membership Signup

Blocking certain email domains from membership signup is a common way to keep spammers out of your site. You may also want to keep out disposable email services. This code recipe lets you block...

View Article

Image may be NSFW.
Clik here to view.

Hide Previous Content From New Members

Depending on your membership site, you may want to keep older content reserved for the members who were already around when you published it. This is a common need for serial content, private...

View Article

Image may be NSFW.
Clik here to view.

Build a Lead Scoring CRM Report Inside Paid Memberships Pro

If your membership includes an upsell you handle personally, you already have more information about your leads than you are using. Every checkout answer, every visit to your pricing or checkout page,...

View Article
Browsing index pages (377 articles)


Latest Images