The Roles for Membership Levels Add On creates a new WordPress User Role for each membership level you have created. This recipe performs a batch update on all members with the Subscriber role to their level’s custom role, ignoring the Administrator role and any other roles you specify to skip.
The code is designed to be a one-time update script for sites that would like to use the Roles Add On on an existing site with members.
Our Limit Post Views Add On allows you to limit post views for non-members. This is a nice way to give users a taste of your content and entice them to become fully-fledged members. But what if you wanted to limit those new members even further to sign up for a higher level in order to view more content? This code recipe will allow you to extend these Add On features to your current members as well. Giving you much more versatility over the Add On.
LearnDash includes a shortcode and block to display a list or grid of available courses. This recipe demonstrates how to filter the courses included in the output of the [ld_course_list] shortcode to only show those courses the member can enroll in. This includes courses they are already enrolled in as well as courses that are…
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 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 recipe to support Ninja Forms prior versions.
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.
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.
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…
Make an impact on your newly signed up members by sending them to a unique page the first time they log in to your membership site. This is a perfect opportunity to make an impact on your newly signed up members by sending them to a friendly “Welcome” page.