Skip to:
Content
Pages
Categories
Search
Top
Bottom

Need userbar only on logged-in user's profile

  • @tsalagi_red

    Participant

    I am trying to redesign the standard bp theme to take up less screen real estate. I have removed the userbar from most pages and only want it on the logged-in users profile page.

    You can check out what I am trying to do by visiting http://thegermainetruth.net/members/admin

    Any php people out there who can give me some advice on what code might work to do this.

    Thanks

Viewing 1 replies (of 1 total)
  • @johnjamesjacoby

    Keymaster

    Using the bp_is_home function, well return back a true/false whether or not you are viewing your own profile.

    if ( bp_is_home() ) {
    // do what you want
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Need userbar only on logged-in user's profile’ is closed to new replies.
Skip to toolbar