Login / Profile link on header main menu (like this forum)

Posted in: Newspaper
Post count: 15

I’ve decided not to use the wpadminbar on my design and instead have a simple “Login” in the top menu bar as per this forums layout.
I like how when I shrink to a mobile screen size the “Login” icon is positioned to the left of the Search icon.
How would I go about replicating this for my design? I’ve had a search within the theme settings and can’t really find where.
I’d like to also have the avatar and profile name once logged in displayed, with hovering View Profile, Edit Profile, and Sign Out links (just how this site displays it).

Also I mentioned earlier that I’m deciding not to use the wpadminbar. I had intended to use it simply for the default buddypress notifications feature that are implemented to the wpadminbar by default. And also the way it supports Messages, Forums into it too. It is possible for this to be incorporated into Newspaper?
Thanks in advance.
Brent

  • This topic was modified 8 years by brent.
Post count: 15

Also, when viewing the menu within the mobile responsive view, the “td-menu-login-section” has a link to the logged in users profile like follows:
http://url.com/author/admin/
Buddypress adds the profile link to
http://url.com/members/admin/profile/

What would be the correct way to implement this change?

And lastly, if I wanted to add bbpress forums with catagories to a megamenu how can I achieve this?
As always, thank you.

  • This reply was modified 8 years by brent.
  • This reply was modified 8 years by brent.
Post count: 20688

Hi,

So you want to display a buddypress login and additional related links and information in the menu. Buddypress provides these elements
https://www.screencast.com/t/jXsKEivx

The theme only provide a modal for login, which is design modification over the default WordPress functionality, no other modifications made
https://forum.tagdiv.com/login-how-to-enable-user-registration/

The mega-menu will work only with posts and their categories, all the theme modules work with posts mainly. They will not display forums. Maybe some menu plugins could do that, if you require this.

Thanks

Post count: 15

So is it possible to show an avatar with username (just like in this forum) in the nav bar?
cheers

Post count: 20688

I would’t know about that, search online for possible solutions. Those are all the menu elements the buddypress plugin provides and the theme does not have specific buddypress options for the menu
https://stackoverflow.com/questions/44151426/how-to-make-buddypress-profile-menu-display-username-and-user-photo
http://wpsnipp.com/index.php/members/display-avatar-for-currently-logged-in-user-with-get_avatar/

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.