The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
163 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
61 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
45 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
92 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
14 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
22 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
48 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
138 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
250 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
86 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
111 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
23 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
83 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
57 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
268 views

How To Create A Secure Login Logout Menu Properly?

I'm not a developer and I don't know about PHP. I'm trying to create my own blog using a theme called WP Knowledge Base- Link. It uses the wp-bootstrap-navwalker Other more details: Wordpress ...
0
votes
0answers
144 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
191 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
71 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
722 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 ...