Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Adding menu items to the admin bar


alanchrishughes
Participant

@alanchrishughes

@hnla I mean the buddypress links. All the individual items under “My Account” and the “Notifications.” I’ve clumsily figured out how to generate a link to a logged in users account page, just by copying and pasting random bits of php from the admin bar file into my design. If there was a simple way to pull the individual links to each page that would be perfect, if there was something like…

get_myactivity_personal();
get_myactivity_friends();
get_mynotifications();

And then I could move on from there designing whatever I wanted without worrying about the admin bar knowing that I could write

a href=” php get_myactivity_personal(); “> < img src </ a

(I don’t know how to post code on here so that is why that is written incompletely)

Skip to toolbar