Basically I'm putting together a magazine site that wants a strong focal point on the homepage for users who haven't signed up, if the user is logged in we need this content to show something else, is this possible?
Basically I need a function to show X if the user is logged in and if not to show Y, the code will be placed in the header so whatever page the user has landed on it will encourage the viewer to register for an account.