Skip to content

Different header/footer for guest users

I want to show different header and footer for the guest users and default one for the logged-in users.

What is the right way to do so ?

AND using the custom module to achieve this.