The Member Homepages Add On includes settings to redirect members to a unique page based on their level. This recipe will demonstrate using the pmpro_member_homepage_id filter to redirect members to a Custom Post Type (CPT).
If you’re adding membership to an existing WordPress site with a lot of content, chances are you are looking for a way to speed up the initial setup process of restricting content throughout your site.
This post offers developers a few advanced methods to set up restrictions in bulk via MySQL.
Our Custom Post Type Membership Access Add On protects CPTs for members only and redirects non-members away from the content. This article will show you how to remove the redirect from a protected CPT using the Custom Post Type Membership Access Add On. This will, in turn, allow non-members to view the single CPT page….
PMPro offers a setting to filter and hide members-only content in your site’s blog, archives and search results. You can select this option on the Memberships > Settings > Advanced Settings page. If you’re using the Custom Post Type Membership Access Add On, you can apply this same setting to CPTs with a custom filter…
v1.2.1 of the Sitewide Sales Add On now allows you to include HTML in the sale content and banner fields. We’ve also enhanced the Add On’s security through better value sanitization, resolved PHP notices in some edge cases, and improved versioning for enqueued JS and CSS assets.
Expand the functionality of the Limit Post Views Add On to offer viewing limits on Custom Post Types and pages, too. This is a great way to offer non-members and free members a sample of your members-only content and improve the conversion rate for a “premium content” type membership site.
The code recipe below sets membership restriction on a Custom Post Type (CPT) category. When a non-member visits a CPT in a protected category (either a logged out visitor or a logged in user without membership access) they will be redirected to the membership levels page (or another page as defined in your custom function).
We’ve added a few new features and worked through some hiccups.
v184.108.40.206 allows you to set a separate banner image and featured image. We’ve also added to ability to assign Custom Sidebars by CPT. Read on for descriptions of these two new additions as well as a full list of updates.