This widget provides an alternative simpler version of the Buying Buddy Portal Menu widget that can be placed in a WordPress header when added as a menu item.
Many WordPress themes allow multiple "menus" and often there is a widget area in the header where a a menu can be placed. This method helps you use this capability to show the widget links.
The Portal Menu Widget has a filter option that also displays Register/Login text links - however with WordPress it's often not easy or possible to add a shortcode to a header.
The solution is to add function to the WordPress site menu.
We provide this HTML-only version of the Portal Menu widget as an alternative solution specifically for adding to WordPress menus.

Register Login Links HTML-Only Widget
- Displays "Register/Login" text links that seamlessly integrate with your website header
- Automatically updates link text based on user's current login status
- Provides identical functionality to the Portal Menu widget with Register Login Links layout
- Works in locations where WordPress shortcodes aren't supported
Examples
If the lead is NOT logged in, this displays as:
Register | LoginIf the lead IS logged in then it displays as:
My Account | LogoutUse
To do this, you'll need to be able adjust the WordPress Menu.
- Edit your menu and add a Custom Link menu item with the following:
- URL: #
- Link Text:
<span id="MBB_RegisterLinks"></span>
- Click "Add to menu".
- Then edit the menu item
- Delete # from the URL field
- (If CSS Classes field is available then type
MBB_RegisterLinks
to the CSS Classes field)
It should now look like this:
- Save the Menu
Adjusting Style and Layout
This widget should inherit the menu link styling in your website.
You should add any custom CSS for adjusting Buying Buddy widgets to your custom Buying Buddy theme. See Adding Custom CSS.