The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
3answers
221 views

Wordpress Login/Logout Single Menu Only

I've written this login/logout for my functions.php in my wordpress theme. The problem is, it's showing a login/logout link in all menus both primary and secondary. Is there a way to get it to ...
1
vote
2answers
64 views

Disallow second login session

I am trying to find a solution for 2 months now but unfortunately I came up with no results. I have a subscription based website which streams music. What customers basically buy is a "panel" where ...
1
vote
1answer
190 views

How do you log a user out with wp_logout?

I can get wp_logout to work, but not without generating lots of warnings ('PHP warning: Cannot modify header information - headers already sent'). wp_logout calls wp_clear_auth_cookie, which calls ...
1
vote
1answer
104 views

What is difference between logout and switch off?

What is the difference between logout and switch off in wordpress 3.6 except below? 1.Logut - redirect to login screen of admin. 2.Switchoff - redirect to UI side.
0
votes
1answer
23 views

Custom, conditional redirect on logout

I'd like to implement a custom logout function that only runs if the conditions are met. Instead it returns me to the homepage whether the conditions are true or not. Here's the code that should do ...
0
votes
1answer
72 views

How change wordpress password without logout ( need for plugin )

I need change WP password without logout profile. When I use wp_set_password( $password, $user_ID ) i have problem with logout.
0
votes
1answer
183 views

share login/logout sessions across two installs?

I'm having some issues sharing the user sessions across two installs. (a) site on http://stolenmx.com (b) site on http://arcade.stolenmx.com I have installed B in the same database as A and I have ...
0
votes
1answer
204 views

Set Short Automatic Logout Time for One User

I am building sites where I secretly give authoring role capability to visitors by auto-logging them into a generic account; they never see the admin bar, and are prevented from seeing the dashboard ...
0
votes
1answer
308 views

wp_logout action not working

I'm trying to remove some cookies set to control persistent login when the user specifically wants to log out of a website. I thought it would be as simple as: function remove_user_cookie() { ...
-1
votes
1answer
100 views

Wordpress Logout Redirect Follow up

You answered a logout redirect question for this guy a while ago, I implemented the code and it worked great, thanks! (http://wordpress.org/support/topic/wp-logout-page-redirect-to-homepage) My ...
-1
votes
1answer
1k views

how to manage Session in Wordpress using custom login?

I am new to WordPress, i want to implement custom Login functionality using WordPress. I am using the following Code to create custom login, In wp.config file if( !session_id() ) { ...
1
vote
0answers
128 views

WordPress Multisite logout conflict

I have a WordPress Multisite setup with several sub sites. I am having an issue when logging out of one of the sub sites that leaves the user logged into the main site which was the entry point or ...
0
votes
0answers
33 views

Login/Logout menu item not appearing

I would like to add a login/logout button to my Main Menu which is located at the top of each page. I opened my theme's function.php file and added the code shown below. My primary menu in my Admin ...
0
votes
0answers
112 views

Getting logout confirmation page despite nonce

I implemented an Ajax login on my site, and that part works great, but I'm having issues with the logout. For the logout, I'm using the default link: <?php echo wp_logout_url( home_url() );?> ...
0
votes
0answers
63 views

Logging back into WordPress after logging out and having issues with 'loggedout=true' in redirect URL

I have custom login form that displays a logout link after a user has logged in. I'm running into an issue when clicking log out. Wordpress redirects the user to a url with the parameter ...
0
votes
0answers
163 views

Logout link not working

My logout link is not logging me out. May be I am missing something. I tried the below links which is generated by wp_logout_url(site_url()). But still I am logged in. ...
0
votes
0answers
229 views

Logging out gives 404 error

When I try to log out of my site, I'm taken to a 404 page, and the logout doesn't work. The url looks like this: ...
0
votes
0answers
75 views

after logout, get_current_user_id still holds value

I added a login, logout menu item to a menu with the following code in functions.php. After logout it redirects to the current page. But surprisingly enough, the get_current_user_id method still ...
0
votes
0answers
806 views

WP Logs me out after updating anything on dashboard

Not sure what is going on here but my live site kicks the admin out every time they change something in the dasboard. For instance when an admin updates a page the url looks like ...