Breaks User Role Based page headers
-
I have the Block Visibility and Admin and Site Enhancement (ASE) plugins active. I am running the GeneratePress theme and Generate Blocks plugin. I have a Login button in my page header elements that is only visible when the visitor is not logged in. I also have a Logout link created by ASE that is only visible when the visitor IS logged in. When clicked, this link logs the visitor out (bypassing the annoying WordPress logout confirmation page), and redirects the visitor to the site home page.
Everything works fine with LiteSpeed disabled. However if LiteSpeed is turned on, the Login link continues to be displayed and the Logout link remains hidden even though the user is successfully logged in. If the visitor clicks the site icon or the main nav Home link the Login button is hidden and the Logout link is displayed as expected. However if the visitor clicks the Login button (that should have been hidden) after logging in, an expected notice saying the visitor is already logged in along with a Home button which the logged-in user can click to return to the Home page. If that button is clicked, the page header and nav menu are displayed as expected (Login hidden and Logout displayed).
Is there some setting in LiteSpeed that can fix this behavior?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.