Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting Username for link

  • @kjgbriggs

    Participant

    I am trying to add a link to the profile for a sidebar I have created, the only issue is that the profile page URL is dynamic, addign the users username to itself, this is the problem.

    I am using the plugin called Social Sidebar for WordPress (http://codecanyon.net/item/social-sidebar-for-wordpress/6244336) and I am trying to add the BuddyPress profile link to one of the tabs (icons).

    Is there any way for me to reference the username to create this link, or any way at all to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @shanebp

    Moderator

    For a logged in user, their profile url is returned by bp_loggedin_user_domain();
    Use that to build the link.

    @kjgbriggs

    Participant

    How exactly do I use this in a link?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Username for link’ is closed to new replies.
Skip to toolbar