How to fake a WordPress login?
You could create a dummy user (with no rights) and log in every visitor using this dummy user. This could be done pretty easily: wp_set_auth_cookie($uid, true); wp_set_current_user($uid); But in my opinion that’s a rather flawy workaround. Your main problem is that all pages for not-logged-in users come from the page-cache. That also means that all … Read more