No. I really need subscribers to log in to access this site. So I implemented a plugin for that. But the plugin must be checking if I’m logged in at each page after that… so it’s slowing down everything.
You can do this:
create functions.php within your Child Theme and add something like this
<?php
function password_protected_site() {
if ( !is_user_logged_in() ) {
auth_redirect();
}
}
add_action ('template_redirect', 'password_protected_site');
?>
This will work without a plugin and it relies on WP Login only and it’s for registered members only. Now what’s needed here is to open your registrations and that’s pretty much it.
You can also style your login any way you need with: http://ww.wp.xz.cn/extend/plugins/erident-custom-login-and-dashboard/
Emil
Exactly what I needed! Thanks so much!
I’m definitely becoming a fan of this theme… and assistance!
Thanks for your time on my “user errors” 😉
Hi, I am just looking to see if anyone else thinks my site is slow on mobile devices, it seems to be reasonable on desktops but on my mobile it is like 7-10 sec, if anyone had any suggestions I’d appriciate it…
my site it http://www.dmdatasolutions.co.uk
I’m also using WP super cache, WP Minify, ewww image optimizer
thanks
Lee
If you want your site reviewed, please post in http://ww.wp.xz.cn/support/forum/your-wordpress