Mmmmm, maybe I didn’t explain myself the right way.
My website http://elanillounico.com has a menu on top right corner.
TU CUENTA means “your account” and the idea is that it should go to http://elanillounico.com/usuarios/USER/profile
The problem is I do not know how to get the variable USER for making that menu option go to the self-user profile.
Obviously if user is not logged in, it must go to login page.
It’s quite strange that there is not like a menu preset for this as I can add wordpress pages, personalized links, and even some plugins add another box with menu options you can add to your own menu, but there’s not any for buddypress?
I do not want to use WordPress toolbar, I have removed it. Buddypress allows users to edit their profile within the website without entering dashboard. How can I add a dynamic link to their own profile?
thanks!
hope I explained myself better this time 😉
bp_loggedin_user_domain()
used with if (is_user_logged_in())
like it’s done in bp-default theme’s sidebar.php