How do I add Login, Register, Account, Log out Links to Menu Bar?

Hi,

I have found some information on this subject in several topics on your old forum but I had no success in implementing everything I need.

We have the BuddyBoss theme but we created a staging site and are in the process of switching back to Themeco Pro because the BuddyBoss theme is just way too slow and we can make so much more customizations with Themeco Pro. It is much faster as well!

Now, we are just using the BuddyBoss Platform plugin for extra features, however, some features need some serious restyling because some elements are completely unusable so I have some work cut out for me. If you guys added theme support for the BuddyBoss Platform plugin that would be much appreciated!

Onto the issue, I was able to add the login, logout, account, and log-out links in the header using HTML but had a few questions.

  • How can I retrieve the URL that will lead to a user’s profile? /profile and /account do not work.
  • I tried to add CSS to hide the register and login links for logged-on users but it didn’t work either.

The HTML I used:

<a href="/login/" class="wp-login-url"><i class="x-icon-key" data-x-icon=""></i>Log In</a>  <a href="/register/" class="wp-register-url"><i class="x-icon-pencil-square-o" data-x-icon=""></i> Register </a> <a href="/login.php?action=logout" class="wp-logout-url"><i class="x-icon-sign-out" data-x-icon=""></i> Log Out </a> <a href="/account/" class="wp-account-url"><i class="x-icon-user" data-x-icon=""></i> Account </a>

And the CSS used:

.wp-account-url {
display: none;
}

.logged-in .wp-account-url {
display: block;
}

Best regards,

Josh

Hello Josh,

Thanks for writing to us.

You can use a URL like your-domain-name.com/wp-login.php or your-domain-name.com/wp-admin/. For the profile link your-domain-name.com/author/author_name/

To display the different menu item on logged-in and logged-out mode you may create a menu and assign it through the Pro custom Header builder. You can use a WordPress plugin called “IF MENU” It would conditionally show the menu item on the basis of logged-in and logged-out mode.

Please note that we don’t provide any third-party plugin support. It is out if the support scope.

Thanks for understanding

Thank you for that information. That link did not work for a user’s profile, unfortunately; it pointed itself to a 404. I don’t even know how to find something like that and even if I did I would have no clue how to translate that to HTML since it is done through PHP.

I completely understand about the 3rd party support. I was also asking if you could put the BuddyBoss Platform plugin in your feature requests for more compatibility with the theme.

Thanks and regards

Hello Joshua,

BuddyBoss seems to have a different account URL compared to the BuddyPress plugin. We do not have any first-hand experience yet with BuddyBoss. And since this is a 3rd party plugin, you will have to ask for further assistance from the creators of the plugin or other developers.

Meanwhile, we already added a feature request for the integration of BuddyBoss plugin for consideration in our future updates.

Best Regards.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.