3rd Sep '24
/
0 comments

RCP Memberships grouped by Membership Levels in Bricks

This Pro tutorial provides the steps to show Restrict Content Pro's membership level as headings and, within them, a list of customer names having active memberships under each level in Bricks.

Consider this sample data:

After implementing the tutorial:

Step 1

Let's register a custom query type for Bricks called "RCP Membership Levels".

Add the following in child theme's functions.php (w/o the opening PHP tag) or a code snippets plugin:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Get access to all 630 Bricks code tutorials with BricksLabs Pro

Related Tutorials..

Bricks Condition for WishList Member

Bricks Condition for WishList Member

How to render a Bricks element only if the user has access to a specified WishList Member level.
Categories:
SureMembers User Access Group Condition in Bricks

SureMembers User Access Group Condition in Bricks

How elements can be conditionally rendered depending on whether the current user has access to the specified SureMembers access group.
Categories:
Ultimate Member in Bricks: Ignoring the Content Restriction for Header/Footer

Ultimate Member in Bricks: Ignoring the Content Restriction for Header/Footer

If using Ultimate Member to restrict the main post content in a template, you may run into an issue when using Bricks' rich text elements…
Categories: