bob bob
Forum Replies Created
-
For now go into FTP and change the plugins folder name. This will deactivate the plugin. Find a new security plugin until this is fixed
Thanks for the plugin! It’s very well commented and was easy for me to edit. I think it would be a good feature, I was looking for something like this myself.
Go into the plugin directory and edit line 127
/** * Allow Administrators */ function allow_administrators( $bool ) { if ( ! is_admin() && current_user_can( 'manage_options' ) && (bool) get_option( 'password_protected_administrators' ) ) return 0; return $bool; }
Change this :
if ( ! is_admin() && current_user_can( 'manage_options' ) && (bool) get_option( 'password_protected_administrators' ) )
to this :
if ( is_user_logged_in() && (bool) get_option( 'password_protected_administrators' ) )
Make sure the “Allow admin” option is turned on in the backend
disclaimer : I’m in no way affiliated with the plugin author. Updates to the plugin will cause this to not work.
Manually put the Google Analytics asynchronous code snippet into your header.php before the </head> tag. That loads analytics in a seperate js file without changing the way your site operates. You can find the code here – https://developers.google.com/analytics/devguides/collection/gajs/