Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23743
    Mark
    Participant

    Hi Sakin,
    Is it possible to put a login in the footer, after “All rights reserved”? I tried it with the Footer Editor Option, but it didn´t work. I suppose I don´t know the exact code.
    Greetings,
    Mark

    #23752
    Sakin
    Keymaster

    @Mark: You nee to add your manual html link like below
    <a href="http://yoursiteloginurl.com" title="Login">Login</a>

    #23855
    Mark
    Participant

    Thanks Sakin. But I can not logout with the same html link. I used the meta widget, which I made only visible for logged-in-users now, to logout again.
    Greetings,
    Mark

    #23875
    Sakin
    Keymaster

    @Mark: Oh you cannot add conditions in your footer editor box. For that you need to build child theme and add wp_loginout(). The best option at this stage will be to add meta widget in Footer Areas from “Appearance => Widgets”.

    #23890
    Mark
    Participant

    I had put this one <p><?php wp_loginout(); ?></p> in the footer.php of my child theme before. It worked, but was not looking good. It is good like it is now. It is working and looks nice. Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘login in Footer’ is closed to new replies.