LΓ©im chuig an Γ‘bhar
WordPress.org

Gaeilge

  • Themes
  • Plugins
  • About
  • Remembers
  • Blocks
  • Education
  • TeangmhΓ‘il
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

LMSCrafter User Menu & Redirects

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

LMSCrafter User Menu & Redirects

By Mubashir Taqi
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

LMSCrafter User Menu & Redirects is the ultimate WordPress plugin for building dynamic user menus, smart login/logout redirections, and role-based menu visibility β€” all from one place. Perfect for membership sites, LMS platforms, WooCommerce stores, and communities.

⭐ Trusted by 5,000+ Sites | πŸ”’ Security First | πŸš€ Performance Optimized

πŸ›‘οΈ View Certification Report β€” 96 tests performed, 10/10 security score, fully certified for production use.

🧭 Four Pillars, One Plugin

Most plugins only do one thing. This plugin gives you four powerful features in a single, lightweight package:

  1. User Menu Builder – Add dynamic login, logout, register, profile, avatar, and username menu items that automatically appear or hide based on login status. Includes avatar styling, dropdown menus, and BuddyPress/BuddyBoss integration.
  2. Smart Redirection Engine – A 7-level redirect priority system covering role-based, membership-based, user-specific, WooCommerce product, LMS course, first-login, and global redirects. Now with role-based logout redirects too. Supports dynamic URL placeholders like {{username}}.
  3. Menu Visibility Control – Show or hide ANY menu item (not just plugin items) by user role, login status, or device. Plus hide the WordPress admin bar for specific roles.
  4. Login Analytics & Insights – Built-in dashboard showing total logins, active users, daily/weekly stats, and per-user login history with timestamps. Includes a WordPress Dashboard widget for quick monitoring.

Integrations: WooCommerce Β· WooCommerce Subscriptions Β· MemberPress Β· Paid Memberships Pro Β· WooCommerce Memberships Β· LearnDash Β· LifterLMS Β· TutorLMS Β· BuddyPress Β· BuddyBoss

πŸ”— Dynamic User Menu Builder

Add these smart menu items to any WordPress menu β€” they automatically show or hide based on whether a visitor is logged in or out. No shortcodes or templates needed β€” just add them from the familiar Appearance > Menus screen:

  • Login Link – Visible only to logged-out visitors. Automatically hides after login
  • Logout Link – Visible only to logged-in users with secure logout URL
  • Register Link – Encourages signups, hidden once a user is logged in
  • Profile Link – Directs logged-in users to their profile page (auto-detects BuddyPress and WooCommerce My Account)
  • Login/Logout Toggle – A single menu item that intelligently switches between Login and Logout
  • User Avatar – Displays the user’s profile picture in the menu with customizable size, border, shape, and optional dropdown submenu for quick access to profile, dashboard, and logout
  • Username Display – Shows a personalized greeting using the user’s display name, first name, or username (e.g., “Hello, John”)

All menu items work with any WordPress theme and any menu location β€” primary, secondary, footer, or sidebar.

πŸ”€ Smart Login Redirect & Redirection Engine

Take full control of where users land after login, logout, and registration. The plugin processes redirects through a 7-level priority chain β€” the first matching rule wins:

  • Individual User Redirects – (Priority 1) Set a custom login destination for a specific user by searching and selecting them. Perfect for VIP users or testers
  • First Login Redirect – (Priority 2) Send brand-new users to a welcome or onboarding page on their very first login. After that, normal redirect rules apply
  • WooCommerce Product Redirects – (Priority 3) Redirect users who have purchased a specific product or have an active WooCommerce Subscription to a custom page. Subscription-aware β€” active subscribers get priority over one-time buyers
  • LMS Course Redirects – (Priority 4) Redirect students based on LearnDash, LifterLMS, or TutorLMS course enrollment. Also supports LearnDash Group membership for group-based routing
  • Membership Redirects – (Priority 5) Route users based on their active membership level in MemberPress, Paid Memberships Pro, or WooCommerce Memberships. Each membership level can have its own landing page
  • Role-Based Redirects – (Priority 6) Send Administrators to the WP dashboard, Subscribers to their profile, Students to their course catalog β€” with drag-to-reorder priority for users with multiple roles
  • Global Login Redirect – (Priority 7) Set a default fallback page for all users β€” custom URL, home page, or previous page (referrer)

NEW: Logout Redirects – Also supports role-based and membership-based logout redirects. Send different users to different pages after they log out.

Dynamic URL Placeholders: Use {{username}}, {{user_slug}}, {{user_id}}, {{display_name}} in any redirect URL for personalized destinations like https://example.com/members/{{user_slug}}/dashboard

πŸ‘οΈ Menu Visibility Control

Control who sees what in your navigation β€” no coding required. This works on ALL menu items across your entire site, not just the plugin’s own items:

  • Role-based visibility – Show or hide ANY menu item based on user role (Administrator, Editor, Subscriber, Customer, Student, etc.)
  • Login status filtering – Show items only to logged-in users, only to logged-out visitors, or to everyone
  • Mobile visibility – Optionally hide user menu items on mobile devices for a cleaner mobile navigation
  • Works with ALL menus – Primary, secondary, footer, sidebar β€” every registered menu location on your site
  • Hide WordPress Admin Bar – Remove the admin bar from the frontend for specific roles (e.g., Subscribers, Students) while keeping it for Admins

πŸ“Š Login Analytics & Insights

Monitor user login activity right from your WordPress dashboard β€” no external tools needed:

  • Overview Dashboard – Total users, total logins, logins today, and logins this week displayed in beautiful stat cards
  • Per-User Statistics – Detailed table showing each user’s login count, last login time, and first login date
  • Dashboard Widget – A compact widget on your main WordPress Dashboard for quick at-a-glance monitoring
  • First Login Detection – Automatically tracks whether a user has logged in before (used by the First Login Redirect feature)

πŸ”— Plugin Integrations

Works seamlessly with popular plugins β€” auto-detected, zero configuration:

  • WooCommerce – Auto-detects the My Account page for profile links. Product-based redirects check the user’s complete purchase history. Also supports WooCommerce Subscriptions β€” active subscribers are prioritized over one-time buyers
  • BuddyPress / BuddyBoss – Uses native BuddyPress profile URLs and avatar system for accurate profile links and member avatars
  • LearnDash – Search and select any LearnDash course or LearnDash Group. Users enrolled in that course or group are automatically redirected to your chosen URL on login
  • LifterLMS – Course enrollment-based redirection, fully integrated with LifterLMS access checks
  • TutorLMS – Course enrollment-based redirect for TutorLMS sites. If a student is enrolled in a specific course, redirect them on login
  • MemberPress – Detects all active MemberPress membership products. Set per-level login and logout redirect URLs for members with active subscriptions
  • Paid Memberships Pro – Detects all PMPro membership levels with per-level login and logout redirect support
  • WooCommerce Memberships – Detects all WooCommerce membership plans with per-plan redirect support

🎯 Who Is This For?

  • Membership site owners who need role-based or membership-level login AND logout redirects and personalized user menus
  • Online course creators using LearnDash, LifterLMS, or TutorLMS who want to redirect students to their enrolled course on login
  • WooCommerce store owners who want to redirect customers to download pages or dashboards based on purchased products or active subscriptions
  • Community sites using BuddyPress/BuddyBoss with personalized user avatars and profile links in the menu
  • Any WordPress site that needs login/logout menu items, menu visibility control, or smart login redirects

πŸ“– Documentation & Support

  • Knowledge Base – Tutorials and guides
  • Support Center – Submit support tickets
  • Plugin Documentation – Complete feature documentation

🎨 Menu Keywords

Add these as Custom Links in Appearance > Menus (use as the URL):

  • #rsumlogin# – Login link (hidden when logged in)
  • #rsumlogout# – Logout link (hidden when logged out)
  • #rsumregister# – Register link (hidden when logged in)
  • #rsumprofile# – Profile link (hidden when logged out)
  • #rsumloginlogout# – Smart toggle (shows Login OR Logout)
  • #rsumavatar# – User avatar with link to profile
  • #rsumusername# – Username/display name with link

Pro Tip: Append redirect URLs after keywords:
* #rsumlogin#/my-account – Redirects to /my-account after login
* #rsumlogin#%currentpage% – Stay on the current page after login

πŸ“ Shortcodes

Use these shortcodes anywhere in your content:

  • [lmsc_rsum_login] – Displays a login link
  • [lmsc_rsum_logout] – Displays a logout link
  • [lmsc_rsum_login_logout] – Smart login/logout toggle
  • [lmsc_rsum_register] – Displays a register link
  • [lmsc_rsum_profile] – Displays a profile link

Shortcode attributes:
* text – Custom link text
* class – Custom CSS class
* redirect – Custom redirect URL

Example: [lmsc_rsum_login text="Sign In" redirect="/dashboard"]

External services

This plugin optionally connects to the LMSCrafter API for email newsletter subscription.

Email Subscription (Optional)

When an administrator manually subscribes to the plugin newsletter via the plugin settings page (Getting Started tab), the following data is sent to the LMSCrafter server:

  • Email address entered by the administrator
  • Plugin slug (“lmscrafter-user-menu-redirects”)
  • Site URL (your WordPress site address)

This data is sent only once, when the administrator explicitly clicks the “Subscribe” button. No data is sent automatically or without user action.

This service is provided by LMS Crafter LTD:
* Terms of Use
* Privacy Policy

Screenshots

  • Getting Started – welcome wizard with quick 3-step setup, email subscription, and quick links to all settings
  • General Settings – login configuration, first login redirect, registration URLs, profile/logout options, avatar display, and menu keywords & shortcodes reference
  • Appearance – custom user menu builder, avatar styling, username display, dropdown menu, hide admin bar by role, menu icons, and avatar ring styles
  • Role Based Redirection – define where users go after login based on their role with drag-to-prioritize ordering
  • Membership Based Redirection – set specific redirect URLs for your MemberPress, PMPro, or WooCommerce membership levels
  • Advanced Redirects – individual user redirects, WooCommerce product redirects, and LMS course redirects with dynamic URL placeholders
  • Analytics – login analytics overview with total users, logins, and detailed per-user login statistics
  • Tools – export/import settings as JSON, reset all options, and uninstall cleanup warning

Installation

Automatic Installation

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for “LMSCrafter User Menu”
  3. Click Install Now, then Activate

Manual Installation

  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin
  3. Upload the zip file and click Install Now
  4. Activate the plugin

Quick Start

  1. Go to Settings > User Menu & Redirect
  2. Complete the Getting Started wizard
  3. Configure your redirection rules
  4. Add menu items via Appearance > Menus

FAQ

What is the best login redirect plugin for WordPress?

LMSCrafter User Menu & Redirects is a complete user menu, login redirect, and menu visibility solution β€” all in one plugin. Unlike single-purpose redirect plugins, it combines dynamic user menus (login/logout/avatar), a powerful redirection engine (by role, membership, user, course, or product), and menu visibility control. It’s a great alternative to LoginWP (Peter’s Login Redirect) with additional user menu and visibility features included for free.

How do I redirect users after login based on their role?

Go to Settings > User Menu & Redirect > Role Based Redirection. You’ll see all your WordPress roles listed. Enable the toggle for each role you want to redirect, enter the destination URL, and save. You can drag roles to set priority β€” if a user has multiple roles, the highest-priority role’s redirect is used.

Can I redirect MemberPress members to different pages?

Yes! Go to the Membership Redirects tab. If MemberPress is active, all your membership products will appear automatically. Enter a redirect URL for each membership level and save. When a member with that active membership logs in, they’ll be redirected to the specified page.

How do I add a user avatar to my WordPress menu?

  1. Go to Appearance > Menus
  2. Find the “User Menu Links” metabox on the left
  3. Check “User Avatar” and click “Add to Menu”
  4. Customize avatar size, style, and border in Settings > User Menu & Redirect > Appearance

How do I hide menu items from logged-out users?

This plugin adds menu visibility controls to every menu item:
1. Edit your menu in Appearance > Menus
2. Expand any menu item
3. Find the “Visibility” dropdown
4. Choose “Logged In Only”, “Logged Out Only”, or a specific role

Can I redirect new users to a welcome page on first login?

Yes! Go to Settings > User Menu & Redirect > General and enter a URL in the “First Login Redirect” field. New users will be redirected to this page only on their very first login. After that, normal redirect rules apply. You can use dynamic placeholders like {{username}} in the URL.

What are the dynamic URL placeholders?

You can use these placeholders in any redirect URL β€” they are replaced with actual values at login time:

  • {{username}} – The user’s login name
  • {{user_slug}} – The user’s URL-safe nicename
  • {{user_id}} – The user’s numeric ID
  • {{display_name}} – The user’s display name
  • {{home_url}} – Your site’s home URL
  • {{site_url}} – Your site’s WordPress URL

Example: https://example.com/members/{{user_slug}}/dashboard

Does this work with WooCommerce?

Yes! The plugin automatically detects WooCommerce and:
* Uses the My Account page for profile links
* Supports product-based redirections (redirect users who purchased specific products)
* Integrates with WooCommerce Memberships for membership-based redirects

Does it work with LearnDash or LifterLMS?

Yes! The plugin includes dedicated integration for:
* LearnDash – Redirect students based on enrolled courses
* LifterLMS – Redirect based on course enrollment and memberships

Is it compatible with PHP 8?

Yes, the plugin is fully compatible with PHP 7.4 through PHP 8.3+, with no deprecated warnings.

Will it slow down my site?

No, the plugin is performance optimized:
* CSS/JS only loads on pages that use the features
* Compatible with WP Super Cache, W3 Total Cache, WP Rocket, and LiteSpeed Cache
* Minified assets for faster loading
* No aggressive cache-busting β€” works alongside your caching plugin

Can I control which menu items each user role sees?

Absolutely. The Menu Visibility feature lets you show or hide ANY menu item (not just plugin menu items) based on the user’s role. You can set items to show for logged-in users only, logged-out users only, or specific roles like Administrator, Editor, or Subscriber.

How do I get support?

Visit our Support Center to submit a ticket. We typically respond within 24 hours on business days.

Can I export my settings?

Yes! Go to Settings > User Menu & Redirect > Tools to export your settings as a JSON file. You can import this file on another site.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“LMSCrafter User Menu & Redirects” is open source software. The following people have contributed to this plugin.

Contributors
  • Mubashir Taqi
  • Lmscrafter.com

Translate “LMSCrafter User Menu & Redirects” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.7.3

  • Fixed: Fatal error (TypeError) on sites using social login plugins (e.g., Google login via Nextend Social Login) β€” strict PHP type declarations on redirect filters caused a crash on PHP 8.0+ when null was passed
  • Compatibility: All redirect filter methods now safely handle null parameters from third-party login plugins

3.7.2

  • New: WooCommerce login redirect compatibility β€” plugin redirects now work via WooCommerce My Account login form
  • New: MemberPress login redirect compatibility β€” plugin redirects now work via MemberPress login forms
  • Fixed: First login redirect race condition β€” analytics tracking was prematurely setting the first-login meta, preventing the redirect from triggering
  • Fixed: First login meta key typo in test utilities
  • Certified: Full production certification β€” 96 tests passed, 10/10 security score. View report

3.7.1

  • Fixed: Critical error when MemberPress membership redirect is configured β€” wrapped all third-party API calls in try/catch
  • Fixed: Plugin settings being overwritten on update due to migration logic running on every page load
  • Fixed: Review request notice now shows after 30 days instead of 7 days

3.7.0

  • New: Supported Integrations showcase on Getting Started tab β€” auto-detects LearnDash, TutorLMS, LifterLMS, MemberPress, WooCommerce Memberships, Paid Memberships Pro, WooCommerce, and BuddyPress/BuddyBoss
  • Fixed: Critical bug β€” membership login redirects (MemberPress, WooCommerce Memberships, PMPro) were silently failing due to data structure mismatch
  • Improved: Standardized form field styling β€” consistent 40px height, 6px border-radius, and purple focus ring
  • Improved: Added focus-visible outlines and hover states on all interactive elements for better accessibility
  • Improved: Menu Keywords & Shortcodes section redesigned with purple badge styling and alternating row backgrounds
  • Improved: Avatar Ring Style presets now show visual selection feedback with checkmark overlay and dimmed inactive presets
  • Improved: URL fields in Role Redirects now show real-time inline validation indicators (green βœ“ / red βœ—)
  • Improved: Destructive actions (Reset, Import) now use styled confirmation modals with type-to-confirm for Reset
  • Improved: Sidebar active tab now shows a prominent left border accent
  • Improved: Quick Links cards on Getting Started tab now have hover lift effects
  • Improved: Subscribe button uses CSS class instead of inline styles
  • Improved: Live preview section has enhanced prominence with purple gradient background
  • Improved: Save Changes button hidden on read-only tabs (Getting Started, Analytics)
  • Developer: Preset buttons now use CSS classes instead of inline styles
  • Developer: Added 7 new i18n strings for confirmation modal

3.6.1

  • Fixed: Replaced deprecated current_time(‘timestamp’) with time() in analytics tracking (3 occurrences)
  • Fixed: Standardized first_login meta storage format to Unix timestamp across analytics and public classes
  • Fixed: Analytics pagination offset now correctly passed to user query for proper page navigation
  • Improved: User statistics query now uses WP_User_Query with meta_key ordering for efficient database-level sorting
  • Improved: Added strict type checking to all in_array role comparison calls

3.6.0

  • New: Role-based Logout Redirects – send different roles to different pages after logout
  • New: Membership-based Logout Redirects – MemberPress and PMPro logout redirect support
  • New: TutorLMS course enrollment-based login redirects
  • New: LearnDash Group-based login redirects
  • New: WooCommerce Subscriptions-aware redirects – active subscribers get priority
  • New: First Login Redirect – redirect new users to an onboarding page on their first login
  • New: Dynamic URL placeholders – use {{username}}, {{user_slug}}, {{user_id}}, {{display_name}} in redirect URLs
  • New: Placeholder hints shown in all redirect URL input fields
  • New: Redesigned Membership Redirects tab with branded cards, toggle switches, and column headers
  • Fixed: MemberPress membership redirect not working for some configurations
  • Fixed: Membership redirect URLs now properly validated with wp_validate_redirect
  • Fixed: Membership level IDs properly cast to integers for reliable matching
  • Fixed: Removed aggressive cache-busting that disabled page caching for all logged-in users
  • Improved: Membership redirect no longer relies on wp_set_current_user() hack
  • Improved: Added all missing default option values to prevent undefined index notices
  • Developer: New lmsc_rsum_redirect_placeholders filter for custom URL placeholders

3.5.0

  • New: Hide Admin Bar by Role feature – hide WordPress admin bar for specific user roles on the frontend
  • Added: Role selection UI in Appearance tab with dynamic role detection
  • Security: Administrators always retain admin bar access for security

3.4.3

  • Changed: Updated plugin slug to “lmscrafter-user-menu-redirects” as approved by WordPress.org
  • Changed: Updated text domain to match new plugin slug
  • Changed: Renamed main plugin file to “lmscrafter-user-menu-redirects.php”

3.4.2

  • Changed: Renamed plugin to “LMSCrafter User Menu & Redirects” for WordPress.org compliance
  • Fixed: Moved all inline scripts and styles to properly enqueued external files
  • Fixed: Removed broken Author URI and Donate link URLs
  • Removed: WordPress.org directory assets (banner, icon) from plugin package

3.4.1

  • Fixed: Admin button CSS no longer overrides WordPress core button styles across the admin
  • Fixed: Scoped button styles to only apply within the plugin’s settings wrapper

3.4.0

  • New: Getting Started onboarding tab with setup wizard
  • New: Email subscription for tips and updates
  • New: Quick Style Presets for avatar (Minimal, Classic, BuddyBoss, Modern)
  • New: Avatar enable/disable toggle in Appearance settings
  • New: Dropdown User Menu option (shows submenu on avatar hover)
  • New: Font Awesome 6 icon support with visual icon picker
  • New: Import/Export settings functionality in Tools tab
  • New: Reset all settings to defaults option
  • New: Ajax saving for settings (no page reload)
  • New: Conditional CSS loading (only loads on pages with menus)
  • New: Minified CSS/JS assets for better performance
  • New: Lazy loading for analytics data
  • Improved: Simplified Appearance tab
  • Improved: Modern search UI for user and course lookups
  • Developer: Filters for custom membership providers
  • Security: Enhanced input sanitization

3.3.0

  • New: User Avatar menu item (#rsumavatar#) – displays user’s avatar in menu
  • New: Username Display (#rsumusername#) – shows personalized name in menu
  • New: Role-Based Menu Visibility – show/hide any menu item by user role
  • New: Avatar size and username format settings
  • Improved: BuddyPress/BuddyBoss avatar integration

3.2.0

  • New: Membership Based Redirection (MemberPress, Paid Memberships Pro, WooCommerce Memberships)
  • New: Improved Admin UI with modern design
  • Improved: Enhanced redirection priority system (Membership > Role > Global)

3.1.0

  • New: Role Based Redirection feature
  • Improved: Admin UI with better organization

3.0.0

  • Major: Complete code rewrite
  • New: Maintained by LMS Crafter LTD
  • New: Modern admin settings panel
  • Improved: Security and performance

Meta

  • Version 3.7.3
  • Last updated CoicΓ­s ago
  • Active installations Fewer than 10
  • WordPress version 5.8 or higher
  • Tested up to 6.9.1
  • PHP version 7.4 or higher
  • Language
    English (US)
  • Tags
    login menulogin redirectlogout menulogout redirectmenu visibility
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • Mubashir Taqi
  • Lmscrafter.com

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv β†—
  • Get Involved
  • Events
  • Donate β†—
  • Five for the Future
  • WordPress.com β†—
  • Matt β†—
  • bbPress β†—
  • BuddyPress β†—
WordPress.org
WordPress.org

Gaeilge

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
TΓ‘ FilΓ­ocht sa <span style="text-transform: lowercase; font-variant: small-caps;">g</span>CΓ³d.
The WordPress® trademark is the intellectual property of the WordPress Foundation.