Support » Fixing WordPress » Logout Link In 3.0 Menu?
6 years, 8 months ago
How can I add a logout link to the new menu system in WP 3.0?
I know I can use the wp_logout_url(); php function within a template, but the menu system does not accept php content.
6 years, 3 months ago
I too am interested in this.
So am I, as I just need the logout function, not all the other links
You could use one of these
5 years, 11 months ago
Not too hard.
Assuming your WordPress install is from the root, link to:
and replace “something.com” with the page on your site you want to redirect to.
If your WP is in a subfolder (e.g. http://something.com/blog/), then I assume you’d need to modify the link to:
but I haven’t tried it.