When an admin logs in to the back end of WordPress and they go to the front end, WordPress knows they are logged in. I am trying to stop that so when they visit the front end they are not logged in. Any way to do this?
When an admin logs in to the back end of WordPress and they go to the front end, WordPress knows they are logged in. I am trying to stop that so when they visit the front end they are not logged in. Any way to do this?
If a site did that to me, I wouldn't be using the site much any more.
But you could add a call to wp_logout possibly in your themes header.php - however I do not know if it will work there.
The reason I am doing this is because I created a fake bridge for vBulletin for comments that take the vBulletin user ID and puts that in the name area for the comments which then pulls their VB avatar and links to their VB profile but if you are logged in to WordPress then that field is automatically populated with the logged in users name then the avatar is not pulled, etc etc.
I will try the wp_logut, thanks.
This topic has been closed to new replies.