• James posted an update 1 year, 3 months ago

    Here is some super handy code for buddypress that I thought I would just share.. in this piece of code you will see how using $current_user->ID you can use an array of different buddypress functions to echo out lots of goodies such as displaying the current users cover image, profile name and link as well as the users most recent activity!! This code below make an awesome starting point for a cool sidebar widget that you can put on your activity page just like all the other major social networks have like facebook and twitter! Enjoy.
    if ( is_user_logged_in() ) {