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:

SettingDescription
Show Welcome MessageDisplay a greeting using the member’s display name
Show Log Out LinkAdds a “Log Out” link to the widget
Show Log In Widget MenuDisplays a custom navigation menu (see below)
Screenshot of widget demo on frontend of demo site

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:

  1. Go to Appearance > Menus
  2. Create or edit a menu
  3. Assign the menu to the Log In Widget menu location
  4. 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:

Video: Log In Widget and Log In Widget Menu

Last updated on April 15, 2025


Was this article helpful?
YesNo