Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hard code link in BP Admin Bar?


katemgilbert
Participant

@katemgilbert

UPDATE: I used the plugin: here to add a link to my admin bar, and it works.

2nd question – How do I dynamically include the logged in user’s username in the URL that I’m adding?

For example, I am adding the link to /members/[USERNAME]/blogs/, where USERNAME is the logged in user’s username. I have tried inserting the php calls for wp_get_current_user(); , echo $current_user; and echo $username; , but none work.

Skip to toolbar