• Matt
    September 3, 2014 at 9:33 pm #74263

    I am hoping you can help me with this as it is a custom request…

    Using the Login Widget on a page, though I am not using the My Profile page. I would like to redirect upon success login to a different page, though I can not for the life of me find that link in the coding.

    Any chance you can point me in the right direction??

    Thanks in advance!!

    September 11, 2014 at 8:05 am #80592

    The redirect happens in javascript (since the whole login system is via ajax). To change the redirect page you need go into functions.php and change value of “login_redirect” attached to control.js file (is at line 305).

    You can either type the address directly at that line or you can change the value of $login_redirect = get_dashboard_profile_link(); (at line 265).

    This change will affect all the logins systems(not only the widget one). If you want only for widget one you need to clone and them modify (in control.js) the function wpestate_login_wd . The function is at line 1118 and for widget is called at line 1107.

    Thanks you and good luck

    September 11, 2014 at 12:36 pm #80793

    You guys are the best!

    Worked like a charm! Thank you!! 😀

You must be logged in to reply to this topic.

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.