Logout link

This topic contains 5 reply and 2 voices, and was last updated by towhid 8 years, 11 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
May 17, 2015 at 5:25 pm 44251
towhid 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
towhid towhid

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
Alexandre Alexandre

Hi

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

May 18, 2015 at 4:45 pm 44364
towhid towhid

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
Alexandre Alexandre

Hi

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

Tx

May 18, 2015 at 5:09 pm 44386
towhid towhid

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 5 Posts - 1 through 5 (of 5 total)