[Resolved] Change Footer dependant on if logged in or out

Home Forums Support [Resolved] Change Footer dependant on if logged in or out

Home Forums Support Change Footer dependant on if logged in or out

  • This topic has 1 reply, 2 voices, and was last updated 9 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #90990
    Craig Nicholson

    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

    #91036
    Tom
    Lead Developer
    Lead Developer

    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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.