Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How To Hard Code Widgets Into Member Themes


@mercime
Keymaster

@mercime

@surfartculture – you have many threads regarding this including https://buddypress.org/forums/topic/god-help-me wherein you’ll find a helpful code regarding this matter from Boone Gorges:

global $bp;
if ( $bp->loggedin_user->id == 1 ) {
/* Display the stuff you want user 1 to see */
} else if ( $bp->loggedin_user->id == 2 ) {
/* Stuff you want user 2 to see */
} /* etc */

But you have to give more information about your installation so that forum volunteers can help you out specific on your install.

1. What WPMU version?

2. What BuddyPress version?

3. What theme are you using?

4. Site URL?

Skip to toolbar