Please help me with creating a link to the profile page of the logged in use on my site.
I just want to add a link on the page or a widget to lead users to their profile from the front page.
Please give me an idea how to do this?
I inserted the code below as is into a text widget to test and it returns a 404 error.
<a href="<?php echo bp_loggedin_user_domain(); ?> ">Profile</a>
I do not know how to use it. Please help.