Home Forums Plugin Support WP User Frontend Pro Logout link

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  towhid 3 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #44251

    Alexandre
    Member
    Post count: 73

    Hi

    I would like to show a logout link on the top of the dashboard, just the link nothing else, what shortcode can i use ?

    i am actually showing the following links on top of the dashboard :

    Publish a new post | Edit your profile | Logout

    I have the two first links, but not the third one

    Tx for your help !

    Alex

    #44260

    towhid
    Participant
    Post count: 4505

    Hello Alexandre,

    Right now, we do not have log out shortcode. But you can try this <a href="<?php echo wp_logout_url(); ?>">Logout</a> function in the top of the dashboard with and see what happen.

    Please check and let me know the result.

    Thank you ๐Ÿ™‚

    #44268

    Alexandre
    Member
    Post count: 73

    Hi

    I know this link, but how can i put some php in a wordpress page ?

    #44364

    towhid
    Participant
    Post count: 4505

    Hello Alexandre,

    Can you please send me a screenshot where you want to show the logout link. After then I can tell you the file name for put PHP code.

    Thanks.

    #44376

    Alexandre
    Member
    Post count: 73

    Hi

    I want to show the logout link on every page : publish, profile, dashboard etc

    Tx

    #44386

    towhid
    Participant
    Post count: 4505

    Hello,

    According to your requirement, to put a logout link in the top page of a website then you have put the PHP code in header.php page.

    Basically “header.php” and “footer.php” are kinds of hook which attach in every page for a website. If do not know how to code yourself I will request you to please hire a developer.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Logout link’ is closed to new replies.