User ID empty on front page, template tags return null
I’m currently running a single WP 3.0.1 and BP 220.127.116.11 with my own bp compatbile theme.
In my theme’s header.php I have something like this:
<a href="”><a href="”>
This works fine on all pages except the front page (doesn’t display anything). In Settings->Reading I’ve got a custom front page and I also use front-page.php in my theme. `$bp->loggedin_user->id` returns the correct id, but it seems like in ithe template tags it doesn’t.
May anybody help me?
Thanks a lot!
The topic ‘User ID empty on front page, template tags return null’ is closed to new replies.