How To Show A Different Header When User Is Logged In
Is there a way to show a different header when a user is logged in? For example, we have a Membership Dashboard selection on our header menu. We would like to not display the Membership Dashboard menu selection for non logged in users.
We also have a Login button in the header, so ideally...the header with our normal menu with Login button should be displayed for non logged in users, and once a user is logged in we would display the Membership Dashboard menu selection and replace the Login button with a Logout button. So, it seems like two different headers would be the best way, but I can't see where I can duplicate the header.
Any other suggestions are welcome or if you could let me know how I can have two different headers and display them according to if the user is logged in or out.
Thanks in advance,
Chad
-
Hi Chad,
Yes; you can set display conditions to show header (and other blocks) only to logged in users or non logged in users. You will need to develop two headers; one for the logged in and the other for non logged in users and set its display conditions.

For more detailed instructions on using the Brizy Membership feature, please have a look at this tutorial Build an Awesome Membership Site with Brizy and WooCommerce - Here's How!
Unfortunately the duplicate feature does not work for the header block. You could consider this work around to duplicate the header block. https://jmp.sh/c2ZGwaTu
0 -
The last link you provided for the workaround is a broken link. Can you share a working link, thanks :)
0 -
Hi Chad,
I'm sorry for the broken link. I have the fixed it now.
0
Please sign in to leave a comment.
Comments
3 comments