Widgets let you add content and features to your site’s widget-ready areas—like sidebars, footers, and header banners. You can manage widgets under Appearance > Widgets in your WordPress dashboard.
Paid Memberships Pro includes a single custom widget: Log In – PMPro. This widget gives members an easy way to log in and access their account directly from your site’s sidebar or other widget zones.
What Are Widgets in WordPress?
Widgets are modular blocks of content that can be placed into designated areas of your WordPress Classic or Hybrid theme. These areas—called widget areas—are defined by your theme and often appear in:
- Sidebars
- Footers
- Masthead banners
- Blog post headers or after-post sections
To manage widgets, go to Appearance > Widgets in your admin dashboard. You can also add widgets in the Customizer under Appearance > Customize > Widgets.
Widgets only work with a Classic or Hybrid theme. Widgets do not work with a fully Block-based theme.
The “Log In – PMPro” Widget
This widget adds a flexible login box to your site. When a visitor is not logged in, it shows:
- Username and password fields
- A login button
When a member is logged in, it displays:
- A personalized “Welcome” message
- An optional custom menu (see below)
- A link to log out
This is the only widget included with Paid Memberships Pro by default.
Widget Settings
When adding the Log In – PMPro widget, you can enable or disable the following display options:
Setting | Description |
---|---|
Show Welcome Message | Display a greeting using the member’s display name |
Show Log Out Link | Adds a “Log Out” link to the widget |
Show Log In Widget Menu | Displays a custom navigation menu (see below) |

Customizing the Widget Menu
You can assign a default menu to show in the widget or create a custom menu per membership level using the Member-Specific Nav Menus Add On.
To assign a menu:
- Go to Appearance > Menus
- Create or edit a menu
- Assign the menu to the Log In Widget menu location
- Optionally, use the Member-Specific Nav Menus Add On to show different menus for different levels
Developer Hooks
The following hooks allow you to customize the login widget’s output or behavior:
- pmpro_login_widget_redirect_back: Customize whether to redirect back to the original page after login using the login widget. The default is yes (true).
- pmpro_logged_in_welcome_before_menu: Add content before the menu.
- pmpro_logged_in_welcome_after_menu: Add content after the menu.
Video: Log In Widget and Log In Widget Menu
Last updated on April 15, 2025