5 years ago
When you’re logged in and go to leave a comment it says ‘Logged in as ‘user’. Log Out?’ I would like the word ‘user’ to link to the users bbpress profile thats set up instead of the wordpress profile in the backend.
I know very little about php and how to make it work but I’m good with html and css.
I’ve found where the code lives! Now I don’t know how to change it to point to the bbpress profile (see below).
< ?php printf(__('Logged in as <a href="%1$s">%2$s.'), get_option('siteurl') . '/forums/users/', $user_identity); ?> </a><a href="" title=""></a>
I’ve tried changing the href to
but that’s not working either. I dont know what bbpress users for its profile url but I’ll keep looking. In the meantime does anyone have any suggestions?
4 years, 7 months ago
echo ‘You are logged in as ‘. $current_user->user_login . ‘‘;
4 years, 3 months ago
Is that the solution?
Follow bbPress on Twitter •
Contact Us •
Terms of Service