Skip to:

if (is_user_logged_in())

  • Im having an issue on the homepage after a user logs in. On my main nav I have a button that display Log In if a user is logged out but if they are logged in it displays Profile with a link to the the users profile page.

    Once a user is logged in and redirected to the homepage the button says Profile (this is correct). If they navigate to another page the button says Profile(correct again). If they navigate back to the homepage, the button changes to Login.

    Any ideas why this would change back to login only on the homepage while the user is logged in? Im a but stumped.

Viewing 6 replies - 1 through 6 (of 6 total)


Also, just realized that this issue is only happening in Safari and Chrome. Could it be a cookie issue?



Are you using a cache plugin?


I am not using a caching plugin.

I tried setting cookie_domain to,, and and none of those work.

Would debugging provide any info?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘if (is_user_logged_in())’ is closed to new replies.
Skip to toolbar