Wordpress Login - Register - Forget with Ajax 1 ) Include "ajax_login.php" in functions.php 2 ) Change ajax-auth-script.js folder where the js assets folder is in "ajax_login.php" line 3 3 ) Change email address in "ajax_login.php" line 134 4 ) Include template parts in your theme files or make them as page template .