neilgee / logsalot

WP Front end user log in screens customized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logs-a-lot

WordPress frontend user login, reset password, register page, all using theme pages.

On plugin activation 5 login pages are created

  • Login Page - Sign In
  • Redirect after login - Your Account
  • Register Page - Register
  • Forgot Password Page - Forgot Your Password?
  • Choose New password Page - Pick a New Password

User Redirects

Admins go to normal WP Dashboard

Non-admins are controlled via redirect_after_login() function by default set to go to 'My Account' page, this currently has a redundant shortcode 'member-account'

Google Captcha#

Dont forget once active to add recapcha keys https://www.google.com/recaptcha/admin#list in the general settings in Dashboard - there are fields for the Site key and Secret key

Hide Toolbar

New option (not in original code) in General Settings to hide the tool bar for non-admin users.

Original Code

The unaltered code is logsalot.php.github

ref - https://code.tutsplus.com/tutorials/build-a-custom-wordpress-user-flow-part-1-replace-the-login-page--cms-23627

About

WP Front end user log in screens customized


Languages

Language:PHP 100.0%