The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
82 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 ...
2
votes
1answer
544 views

Get wp_logout_url function to work on external (non-Wordpress) page

I have blog and forum, and I need to put wordpress external logout link. What files do I need to add to make wp_logout_url(); work? Thank you.
1
vote
1answer
47 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
65 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
146 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() { ...
0
votes
1answer
337 views

How to use wp-login.php page only for logout?

On my website I have removed wp-login.php to disable the login from default wordpress login window. Then I installed Social Login plugin, users are able to Login properly by using this plugin. But if ...
-1
votes
1answer
63 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
763 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
76 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
13 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
23 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
153 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
97 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
136 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
389 views

how to logout user on browser tab or window closes

How to logout a user when he closes the tab/window ? If no, it is possible to clear the session after specific time? How to do that?
0
votes
0answers
65 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
570 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 ...