• Hi.

    I’m using code in my ‘header’ and ‘footer’ files that shows different information to logged in and logged out users. This currently works on all other pages.

    The issue I’m experiencing is that when a user searches using a form generated by the WP Custom Fields Search plugin and is redirected to the results page, they’re suddenly shown the ‘logged out’ content.

    Interestingly though, when a user clicks on another page in the website and is redirected away from the results page, the logged in content displays again.

    Therefore, the user is never actually logged out, but somehow the search results page thinks they’re logged in.

    Also it should be noted that other search forms on the website (such as the WordPress default) aren’t having this issue!

    Cheers

    https://wordpress.org/plugins/wp-custom-fields-search/

  • The topic ‘Search results page showing user as 'logged out' when logged in’ is closed to new replies.