addisonhalldesign
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Temporary Login Without Password] Login link not working for some users?My apologies, Malay. I’m afraid that really isn’t an option for us in that the client isn’t very tech savvy… We’ve actually already gone live and, so far, no problems. I’ll report back if we need help — I appreciate your time!
Forum: Plugins
In reply to: [Temporary Login Without Password] Login link not working for some users?That bit is included in the functions.php file.
Forum: Plugins
In reply to: [Temporary Login Without Password] Login link not working for some users?Hi, Malay. I’m checking in to see if you had discovered anything, or could offer any advice. I appreciate it.
Forum: Plugins
In reply to: [Temporary Login Without Password] Login link not working for some users?Thank you, Malay. This is the Members plugin I mentioned:
https://ww.wp.xz.cn/plugins/members/
We’re using it to define a special role, and then restrict access to a particular page. I’m also using this bit of PHP to redirect users of that role to the desired page instead of the WordPress admin:
$gpc_current_user = wp_get_current_user(); if ( is_admin() ) { if ( array_intersect( array( 'special_role' ), (array) $gpc_current_user->roles ) ) { wp_redirect( '/restricted-page/' ); exit; } }- This reply was modified 5 years, 4 months ago by addisonhalldesign.
Viewing 4 replies - 1 through 4 (of 4 total)