Jump to content
Sign in to follow this  
antonyw

logout and redirect

Recommended Posts

antonyw

hello i want to create a link to logout a user and redirect back to the home page...... and then add this link to a menu. is this easilly do-able.....thank you

Share this post


Link to post
Share on other sites
antonyw
Yes, but apologies I copied the link from the wpadminbar and it worked fine, but thank you.

Share this post


Link to post
Share on other sites
gormanit
Here are a few options: Logout: Logout Logout and Redirect to Current Page: Logout Logout and Redirect to Homepage: Logout If you want this in your wp-menu then you might have to take a different approach.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×