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 4 years, 1 month ago. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 17, 2015 at 5:25 pm #44251 AlexandreMember 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 May 17, 2015 at 6:01 pm #44260 towhidParticipant 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 🙂 May 17, 2015 at 6:59 pm #44268 AlexandreMember Post count: 73 Hi I know this link, but how can i put some php in a wordpress page ? May 18, 2015 at 4:45 pm #44364 towhidParticipant 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. May 18, 2015 at 5:01 pm #44376 AlexandreMember Post count: 73 Hi I want to show the logout link on every page : publish, profile, dashboard etc Tx May 18, 2015 at 5:09 pm #44386 towhidParticipant 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. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) The topic ‘Logout link’ is closed to new replies.