WordPress.org

Ready to get started?Download WordPress

Forums

Create log out link (4 posts)

  1. krushinfo
    Member
    Posted 5 years ago #

    Hey

    Is there anyway I can just add a link to a post so that a user can log out?

    It used to be a straight link but now it has some sort of fancy code ? ?

    K

  2. MichaelH
    Member
    Posted 5 years ago #

  3. krushinfo
    Member
    Posted 5 years ago #

    Thanks!

    That solved the problem, I just needed to input:

    <?php echo wp_logout_url(); ?>

  4. cocoonfx
    Member
    Posted 5 years ago #

    that worked for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.