Forum Replies Created
-
Author
-
March 6, 2015 at 20:29 in reply to: Restrictiing non admin members dashboard brakes login modal redirect #49013
tony72
ParticipantHi Laura,
Sorry for the late response.
The last code provided doesn’t work at all only throws a white screen error.
Any other suggestions?Thanks
March 4, 2015 at 03:42 in reply to: Restrictiing non admin members dashboard brakes login modal redirect #48697tony72
ParticipantHey Larua.
Yes that code seems to work to restrict admin panel and the modal works well with it.
Right now it redirects the users to the home page though.
Is there a way to redirect the user back to his profile?Thanks
March 4, 2015 at 01:37 in reply to: Restrictiing non admin members dashboard brakes login modal redirect #48658tony72
ParticipantHi Laura,
Im using that plugin already and that plug in does not restrict users from wp-admin dashboard.
All it does is redirect users to profile after they login.If my explanation wasn’t clear what I’m doing with the code is restricting non admin users to wp-admin dashboard. But seems to cause a conflict with the them login modal on front end. The green “Login Successful. Redirecting…” Doesn’t work / trigger the spinner just keeps spinning. But after refreshing the page you would be loged in even with the green “Login Successful. Redirecting…” not working / displaying.
Do you have a solution to restrict non admin users from wp-admin dashboard?
Thanks
-
AuthorPosts

