Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  •  tony72
    Participant

    Hi 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

     tony72
    Participant

    Hey 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

     tony72
    Participant

    Hi 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

Viewing 3 posts - 1 through 3 (of 3 total)

Log in with your credentials

Forgot your details?