• howdy,

    on the home page of my WordPress theme it will not pick up if the user is logged in or out. i tried the is_user_logged_in() function with a simple if statement and it says logged out. i tried to print the $current_user array and it’s showing WP_User Object ( [data] => [ID] => 0 [caps] => Array ( ) [cap_key] => [roles] => Array ( ) [allcaps] => Array ( ) [filter] => ) also, the admin bar is not showing on the home page. this is all only happening on the home page. there’s no errors.

    any ideas?

    thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • What theme are you using? Where did you download it from?

    Thread Starter whomikey

    (@whomikey)

    i’m using braxton from themeforest. i’ve checked the comments and support sections for it but there’s no one else having this issue. i’ve also tried disabling plugins and that didn’t help. it’s just weird that it’s only happening on the home page. i’m stuck. :{

    I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial products here.

    Thread Starter whomikey

    (@whomikey)

    howdy,

    i wanted to let you know that i tried this on the twenty thirteen theme and it has the same issue. only on the home page. i have tried disabling all plugins as well, the issue is still there. i have not modified the twenty thirteen theme in anyway.

    thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘home page is_user_logged_in and current_user’ is closed to new replies.