-1
votes
1answer
68 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
votes
1answer
71 views

Need edit profile link in the menu for logged in users

I have a page called edit profile, i have installed the profile builder plugin,so the users can edit their profile from front end, if the user is logged in i want to show the edit profile and logout ...
0
votes
0answers
123 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
2answers
99 views

How to remove 'wordpress…' text from page titles in tabs

I am working on a site and sometimes I run into an error when logging out and on the site tab it says 'Wordpress Failure Notice'. I am trying to remove all instances of wordpress so users dont know Im ...
0
votes
0answers
92 views

Wp logout working without confirmation only in header.php

If I try this in header.php: <a href="<?php echo wp_logout_url('/') ?>">[logout]</a> this works and I am logged out without asking the confiramtion question " Are you sure...." ...
1
vote
1answer
127 views

Wordpress custom login page

I found a little article on how to create a custom Wordpress Login page and I am wondering if this technique/practice is safe to use? The article: ...
1
vote
1answer
307 views

Preexisting login to change to logout link in sub menu

I am using twenty twelve with a child theme. I have a link in my primary nav menu where I have an link for “My Account” which has a sub menu with a “Login/Register” link that redirects to a modified ...
1
vote
1answer
618 views

Wordpress error on log out 'Not Permitted' and can't log out

I've got a weird situation whereby I sometimes can't log in as clicking on a link (or going directly) to /wp-login.php shows me a blank page with the words 'Not Permitted'. If I go to the ...
1
vote
1answer
139 views

How to: PHP Log Out Link?

I originally came here to find help on creating a string of text that would display a login link, and when the user was logged in it would should their username. Travis Pflanz had the answer for ...
0
votes
1answer
454 views

Add Login and logout buttons to top menu bar

I got this code to insert menu bar in the PRIMARY menubar, but I can not find a way to insert it into my secondary, or top menubar above the primary menu bar. Could anyone teach me how to do that? ...
1
vote
1answer
712 views

Login/logout in header

I am looking to move the login / logout / my account / register details currently situated under my menu bar to above the menu bar. Essentially I want to add the details just after the header. What ...
1
vote
2answers
1k views

Redirect user after logout

I am trying to create an unsubscribe page for my members, but in order to see the unsubscribe form, they have to be logged out, so the first link is: ...
3
votes
1answer
712 views

Masking logout URL

The primary goal is to hide that the site is driven by wordpress. I've got the login part all locked up, but the logout URL still has those blasted wp delineators that give away it's a wordpress site. ...
0
votes
2answers
344 views

wp_logout logging everyone out instead of just the user that clicked the logout link!

I want to display a different menu depending whether a user is logged into the CMS or not. I'm using this for my menu: <?php if ( is_user_logged_in() ) { $args = array( 'depth' => ...
0
votes
2answers
1k views

Add logout link when logged in, make it disappear when logged out?

I am trying to display a logout link when users are logged in and make it disappear when they are not logged in. The code I have so far works for the login and register links due to a plugin that I ...
2
votes
2answers
1k views

How to change the default logout link on WordPress Admin

I want to use other link for logout because i have /wp-admin/* protected with htpassword. Is there a way to do this? Something like create a custom page like site.com/logout then use it as my new ...
5
votes
1answer
3k views

How reduce wordpress login session timeout time?

I want to logout user autometically when user is idle for more than 10 minutes.That mean suppose user is logged in to a site and user didn't browse any pages for more than 10 mins.when he browse any ...
0
votes
2answers
726 views

I keep getting logged out in Firefox

For some reason, tonight when I have gone to work on my Wordpress installation I firstly found myself logged out, even though there was a few cookies left in Firefox relating to the website and when ...
4
votes
1answer
1k views

handling login/logout redirects

I have a couple issues with the way Wordpress handles redirects on login and logout. Standard behaviour is: login: /wp-login.php (with no redirect_to url) -> /wp-admin.php logout: /wp-admin.php ...
2
votes
2answers
1k views

wp_nav_menu log in/out link?

I have a wp_nav_menu showing pages, but I'd also like to include a log in/out link, based on the current state of the user, which will redirect them to the home page. I've looked far and wide, but ...