Skip to content

Instantly share code, notes, and snippets.

@bryceadams
Created January 7, 2015 06:11
Show Gist options
  • Save bryceadams/6b37a10a3d8b82d19881 to your computer and use it in GitHub Desktop.
Save bryceadams/6b37a10a3d8b82d19881 to your computer and use it in GitHub Desktop.
add_filter( 'submit_job_form_login_url', 'wpjms_redirect_login_url' );
function wpjms_redirect_login_url() {
return 'http://mysite.com/my-account/';
}
@edonkeyy
Copy link

Is there a way to change the sign in when a logged out user clicks Apply for job' button on a job. They are asked to sign in then the link goes to wp-login.php instead of my candidate registration page. It is not keeping with our look so would like to change it to our Candidate Registration page.

@edonkeyy
Copy link

edonkeyy commented Apr 30, 2022

Manage to guess my way to it. If anyone has the same issue you need to open application-form-login.php in WPJM Applications/templates.

Look for this 'You must sign in you will have a href="%s" then change %s to your desired sign in/register url.

then change to: 'You must sign in (or any other page you choose instead of login/. The sign in will then redirect where you say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment