• Hi,
    recently I have a plugin that require under function.php to add a code.. could you kindly guide me or let me know where to do that..

    here is what I should do..

    Changing Login Redirects

    When clicking ‘login’ links in both Job and Resume Manager, they will default to the WordPress login page (because that is the only login page these plugins know about!). If you want to send the user to a custom login page instead, you can use a small snippet in your theme functions.php file.

    For Job Manager:

    123456 /** Code goes in theme functions.php **/

    add_filter( ‘submit_job_form_login_url’, ‘custom_submit_job_form_login_url’ );

    function custom_submit_job_form_login_url() {

    return ‘http://someurl.com’;

    Kindly help..

    Million Thanks..

Viewing 2 replies - 1 through 2 (of 2 total)
  • In your child theme functions.php you have to add the suggested code:

    add_filter( 'submit_job_form_login_url', 'custom_submit_job_form_login_url' );
    
    function custom_submit_job_form_login_url() {
    return 'http://someurl.com';
    }

    p.s.
    you missed a closing bracket.

    Thread Starter goodchoice

    (@goodchoice)

    Thank you… but I still have same problem .. when a different user try to log in ..direct the page to wp log in page.. is there any plug in for log in or log out that you would suggest ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Function.php’ is closed to new replies.