Using User Registration and Membership Block
A comprehensive guide to building registration forms, login pages, and membership features in WordPress using User Registration & Membership's no-code block editor tools.
Last updated on Jul 15, 2026
Want to add registration forms, login pages, or membership features to your WordPress site using the block editor?
User Registration & Membership provides a collection of powerful blocks that let you build and customize user-facing pages without writing any code. This guide will walk you through all available URM blocks and show you how to use them.
Before getting started, make sure you've installed and activated the User Registration & Membership plugin on your WordPress site.
Available URM Blocks
User Registration & Membership provides the following blocks for the WordPress block editor (Gutenberg):
Registration Form Block — Display custom registration forms
Login Form Block — Add login functionality to any page
My Account Block — Create user dashboard pages
Content Restriction Block — Control who can see specific content
Content Restriction V2 Block — Enhanced content access control
Membership Pricing Block — Display membership plans and pricing
Thank You Block — Show confirmation messages after registration
URM Login | Logout Block — Dynamic login/logout menu item
Frontend Listing Block — Display user directories (requires Frontend Listing addon)
URM Popup Block — Display registration forms in popups (Pro feature)
Download PDF Button Block — Allow users to download PDF submissions (requires PDF Submission addon)
Registration Form Block
The Registration Form block displays your custom registration forms on any page or post.
Adding the Registration Form Block
From the block editor, click the + button and search for "Registration Form" or "User Registration" to find the block under the User Registration section.
Configuring the Block
Once you add the Registration Form block to your page:
Click the dropdown menu in the block
Select which registration form you want to display from your available forms
The form will appear immediately in the editor
Block Settings
User State Preview — Choose how to preview the block:
Logged Out — See how the form appears to visitors who aren't logged in
Logged In — See what logged-in users will see (typically account information or a logout option)
Using the Block
After configuring the block, click Publish or Update to save your page. Visitors can now register through the form you've added.
Login Form Block
The Login Form block adds a login interface to any page, allowing users to access their accounts.
Adding the Login Form Block
Click the + button in the block editor and search for "Login Form" under the User Registration section.
Block Settings
Configure these options in the block settings panel on the right:
Redirect URL — Enter the page slug or full URL where users should go after successfully logging in. Leave empty to keep users on the current page.
Logout URL — Enter the page slug or full URL where users should go after logging out. Leave empty to keep users on the current page.
User State — Control what the block displays:
Logged Out — Shows the login form to visitors who aren't logged in
Logged In — Shows account information or logout option to logged-in users
What Users See
When viewing the Login Form block while logged in, users see the message "You are already logged in. Log out?" instead of the login form.
My Account Block
The My Account block creates a user dashboard where members can manage their profiles, view subscriptions, and access account settings.
Adding the My Account Block
Click the + button and search for "My Account" to add the block to your page.
Block Settings
Redirect URL — Specify where users should go after successfully logging in. Leave empty to stay on the current page.
Logout URL — Specify where users should go after clicking Log out or Sign Out. Leave empty to stay on the current page.
User State — Preview the block as:
Logged Out — See the login form that non-members see
Logged In — See the account dashboard that members see
What the My Account Page Shows
The My Account page provides a centralized dashboard where users can:
View and edit profile details
Manage subscriptions
View payment history
Access file downloads (if enabled)
Change passwords
Log out
Users must be logged in to view their account profile. If different login redirection is configured in your form settings, users may not be redirected to the My Account page after login.
Content Restriction Block
The Content Restriction block lets you control who can see specific content on your pages and posts based on login status, user roles, or membership levels.
Adding the Content Restriction Block
Click the + button in the block editor and search for "Content Restriction" to find the block.
How It Works
Add the Content Restriction block to your page
Place any other blocks inside the Content Restriction block
All content inside will follow the restriction rules you configure
Block Settings
Access Control Mode — Choose how the restriction works:
Access — Define who CAN see the content
Restrict — Define who CANNOT see the content
Allow Access To (when using Access mode) — Select who can view the content:
All Logged In Users
Specific User Roles
Guest Users (logged-out visitors)
Specific Membership Plans
Restrict Access To (when using Restrict mode) — Select who cannot view the content:
All Logged In Users
Specific User Roles
Guest Users
Specific Membership Plans
Custom Restriction Message — Choose what visitors see when they can't access the content:
Global Message — Use the site-wide default message (recommended for consistency)
Custom Message — Write a block-specific message (useful for premium content CTAs or upgrade prompts)
Best Practices
Use the Content Restriction block for partial page restrictions, not site-wide content control. For global restrictions, use the Content Rules feature in User Registration & Membership settings.
Content Restriction V2 Block
The Content Restriction V2 block provides enhanced content access control with more granular options.
Adding the Block
Click the + button and search for "Content Restriction V2" under User Registration blocks.
Block Settings
Control Type — Choose the restriction approach:
Access — Show content to matching users
Restrict — Hide content from matching users
Control Case — Define which users the restriction applies to:
All Logged In Users — Any user with an account
Choose Specific Roles — Select particular user roles
Guest Users — Visitors who aren't logged in
Memberships — Users with specific membership levels (requires Membership module)
Access Specific Roles — When "Choose Specific Roles" is selected, pick which roles can see or cannot see the content.
Access Membership Roles — When "Memberships" is selected, choose which membership levels can access the content (requires active Membership module).
Restriction Message Type — Control what message visitors see:
Global Message — Use the default site-wide message
Custom Message — Write a custom message for this specific block
Custom Restriction Message — Enter the text visitors will see when content is blocked (only appears when Custom Message is selected).
Important Notes
Membership restrictions only work if the Membership module is active. Content restrictions apply immediately, so test with different user roles to ensure they work as expected.
Membership Pricing Block
The Membership Pricing block displays your membership plans and pricing options, allowing visitors to quickly select and purchase memberships.
Adding the Block
Drag the Membership Pricing block from the block inserter into your page.
Block Settings
Membership Selection — Choose which memberships to display:
All Memberships — Show all created membership plans
Membership Groups — Filter by specific membership groups (requires membership group addon)
Open in New Tab — Toggle whether the sign up button opens in a new browser tab.
Layout — Select how memberships are displayed:
List — Vertical list layout
Row — Horizontal row layout
Columns — Multi-column grid layout
Show Descriptions — Display membership descriptions (available in Row and Column layouts only, not List layout).
Button Text — Customize the text displayed on the sign up button (default: "Sign Up").
Styling Options
Access the Styles tab to customize:
Button Colors — Modify button color styling
Button Typography — Adjust button font settings
Button Padding — Control button spacing
Advanced Options
In the Advanced tab, you can assign custom CSS classes for additional styling customization.
Important Notes
By default, the block displays all created memberships. Membership groups require the membership group addon to be enabled.
Thank You Block
The Thank You block displays a confirmation message after users complete registration or purchase a membership.
Adding the Block
Search for "Thank You" in the block inserter and add it to your thank you page.
How to Use
Create a new page for your thank you message
Add the Thank You block to the page
Customize the content and styling as needed
Go to User Registration & Membership → Settings → General → Pages
Select this page as your Thank You Page
Visitors will see this page after successful registration or membership purchase, allowing you to welcome new members and provide next steps.
URM Login | Logout Block
The URM Login | Logout block creates a dynamic menu item that automatically shows "Login" to logged-out users and "Logout" to logged-in users.
Adding the Block
This block must be added to your navigation menu:
Go to Appearance → Editor in WordPress dashboard
Click on Navigation from the template editor
Select the navigation menu you want to modify
Click on the navigation bar in the editor
Click the [+] (Add Block) button
Search for "URM login logout"
Select or drag and drop the URM Login | Logout block into your navigation
The block must be added to the navigation bar specifically. If you don't see the block option, verify you're clicking on the navigation bar area.
Block Settings
Login Label — Customize the text for the login link. Examples:
"Login" (default)
"Sign In"
"Member Login"
"Access Account"
Login Page — Select which page users should go to when they click the login menu. The dropdown shows all available pages. We recommend using your designated login or registration page.
Logout Label — Customize the text for the logout link. Examples:
"Logout" (default)
"Sign Out"
"Exit"
"Disconnect"
Additional CSS Class — Add custom CSS classes for styling customization. This is useful for theme-specific styling or custom layouts. Examples: "custom-login-menu", "header-auth-link"
How It Works
The block automatically adjusts based on user authentication status:
Administrators see the logout option
Logged-out users see the login link
Logged-in users see the logout link
Frontend Listing Block
The Frontend Listing block displays a searchable, filterable directory of registered users on your site's frontend.
This block requires the Frontend Listing addon to be installed and activated.
Adding the Block
Click the + button and search for "Frontend Listing" or "URM Frontend Listing" to add the block.
Block Settings
ID — Select which frontend listing configuration to display. This dropdown shows all frontend listings you've created in User Registration & Membership → Members Directory.
Important Notes
The block shows an error message if the Frontend Listing addon is not active
You must create at least one frontend listing before using this block
Download links don't work in the editor preview (REST context) — they only work on the published page
Frontend listings must be configured with access rules and display settings before they appear correctly
Setting Up Frontend Listings
Before using this block, go to User Registration & Membership → Members Directory to:
Create a new frontend listing
Configure which user fields to display
Set up search and filter options
Define access rules for who can view the directory
URM Popup Block
The URM Popup block displays registration forms in popup modals that appear either automatically or when visitors click a button.
This is a Pro feature and requires User Registration & Membership Pro.
Adding the Block
Search for "URM Popup" in the block inserter and add it to your page.
Block Settings
Popup — Select which popup to display from the dropdown. You must create popups first in User Registration & Membership → Settings → Misc → Popups before they appear in this dropdown.
Use as Button — Control how the popup appears:
On — Shows a button that visitors click to open the popup
Off — Popup displays automatically when the page loads
Button Text — Customize the text visitors see on the popup button (only appears when "Use as Button" is enabled).
Important Notes
You must create popups before they appear in the block's dropdown menu. Button text only shows when "Use as Button" is toggled on.
Download PDF Button Block
The Download PDF Button block allows users to download PDF versions of their registration submissions.
This block requires the PDF Submission addon to be active.
Adding the Block
This block is designed for use with Divi Builder. To add it:
Edit a page with Divi Builder
Click to add a new module
Search for "URM Download PDF Button"
Add the module to your page
Block Settings
Preview — Control whether the button appears in Divi Builder preview:
On — See how the button will look while editing in Divi Builder
Off — Hide the button in the editor preview
Important Notes
Shows an error message if the PDF Submission addon is not active
Only works with Divi Builder pages
Visitors can click the button to download PDF versions of their registration submissions
General Tips for Using URM Blocks
Finding URM Blocks
All User Registration & Membership blocks are grouped under the "User Registration" section in the block inserter. Search for "URM" or "User Registration" to quickly find them.
Block Compatibility
URM blocks work with:
WordPress block editor (Gutenberg)
Divi Builder (specific blocks)
Oxygen Builder (via integration)
Elementor (via integration)
Preview vs. Live Behavior
Many URM blocks include a "User State" setting that lets you preview how the block appears to logged-in vs. logged-out users. This helps you test the user experience without logging out of your admin account.
Combining Blocks
You can combine multiple URM blocks on the same page. For example:
Add a Membership Pricing block to show plans
Add a Registration Form block below it for immediate signup
Add a Content Restriction block to show premium content previews
Troubleshooting
Block not appearing in the inserter
Verify User Registration & Membership plugin is installed and activated
Check that you're using a compatible version of WordPress
For addon-specific blocks, ensure the required addon is activated
Content Restriction not working
Verify the Membership module is active (for membership-based restrictions)
Test with different user roles to confirm restrictions apply correctly
Check that you've saved and published the page after adding restrictions
Frontend Listing shows error
Install and activate the Frontend Listing addon
Create at least one frontend listing in User Registration & Membership → Members Directory
Ensure the listing has proper access rules configured
Popup block not showing popups
Create popups in User Registration & Membership → Settings → Misc → Popups first
Verify User Registration & Membership Pro is installed and activated
Check that the popup is published and active
That's it! Now you know how to use all available User Registration & Membership blocks to build registration forms, login pages, member directories, and restricted content areas. Next, would you like to learn more about customizing your registration forms or setting up membership plans? Be sure to check out our complete guide to form customization for all the details.