• Resolved rajakarikalank

    (@rajakarikalank)


    Dear Tea,

    [submit_job_form] in this form, if I log out and Log in back it taking me to WP login page , I want it to take me to my own Employer log in page, how to make the changes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a helpful documentation page on changing login redirects with code snippets for this (I’ve included one, catch all, snippet below). You would change just the my-custom-login-page part below to the slug of your employer login page (e.g. if the page URL is https://www.mywebsite.com/employer-login, then replace /my-custom-login-page/?redirect_to= below with /employer-login/?redirect_to= and then add the whole code snippet to your child theme’s functions.php file or (if you prefer or don’t have a child theme) use the Code Snippets plugin:

    add_filter( 'login_url', 'my_login_page', 10, 2 );
    function my_login_page( $login_url, $redirect ) {
    return home_url( '/my-custom-login-page/?redirect_to=' . $redirect );
    }

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hello, @rajakarikalank,

    I wanted to follow up and see if you had an opportunity to follow the instructions provided by @hastibe. If you have, please let us know if you achieved the desired outcome.

    Thank you for your cooperation!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[submit_job_form] log out and login’ is closed to new replies.