Support » Themes and Templates » logout link
4 years, 4 months ago
hello, could any one help me how if i need to make the logout link to redirect the user to my home page ?
<a href="<?php echo wp_logout_url('$index.php'); ?>">Log out</a>
where should i make this editing?
Wherever you want the link.
Are you talking about the logout link already on the admin page?
it’s a link in the top of the page when the user logged in.
Oh, cool. There’s a free plugin that does this.
i just tried it, the plugin make the logout button redirect me to free page (white) instead of login page, but what iam search about is to redirect me to home page. ?