Site logo

Archived topic

Change Footer dependant on if logged in or out

1 reply · Started by Craig Nicholson on March 24, 2015

Viewing posts 1–2 of 2

Hi Tom

I am having a play with some plugin functionality for being logged in or out

I have included a "Login" feature which when i log in it works well

however my footer still says "Login"

Is there a way i can change it to say Logout

Appreciate this will mean 2 styled footers but where can i place the logic to say if logged in show 2 if logged out show 1

any help would be greatly appreciated

thanks

Hi there,

Are you using a plugin to show the login/logout widget?

If so, you may want to ask that developer what the easiest way to do this would be - they may have a better answer than me.

Off the top of my head, you could use a plugin like this: https://wordpress.org/plugins/display-widgets/

Then you could have two widgets, one showing for logged in users, and one showing for logged out users.

Hope this helps :)

This archived topic is closed to new replies.