Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Admin posts with unique css in forums


LPH2005
Participant

@lph2005

Oh – well – I don’t want to slow down the site. Hmm.. Is there a way to grab the userid from WP or BP?

I was thinking of something like this in the functions.php – is that cached?

function my_admin_post() {
global $bp;

if ( $bp->displayed_user->id == 1 )
return true;

return false;

Update
— Alas that didn’t work

Skip to toolbar