• Resolved joel

    (@joel2019)


    Hi,
    Could you tell me which shortcode to use on the reset password page, please?
    After migrating, the Remy shortcode was still there.
    I’ve tried a few combinations but no luck.

    Thanks,
    Joel

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author YITHEMES

    (@yithemes)

    Hi there,
    you can add this code to your child theme functions.php file

    /**
     * Lost password shortcode
     */
    function yith_proteo_custom_lost_password_form( $atts ) {
    
    	return wc_get_template( 'myaccount/form-lost-password.php', array( 'form' => 'lost_password' ) );
    
    }
    add_shortcode( 'woocommerce_lost_password', 'yith_proteo_custom_lost_password_form' );

    That will restore the shortcode you previously used ??

    Thread Starter joel

    (@joel2019)

    Hi,
    When I add this snippet, the reset password page is working, but the next one isn’t.
    Clicking the ‘reset password’ link takes you to this page: https://evyssecrets.test.applicgroup7.com/mijn-account/lost-password/?reset-link-sent=true

    But that page doesn’t exist. ??

    Any idea?

    Thread Starter joel

    (@joel2019)

    disregard last message, please.
    forgot to set up the page.

    Theme Author YITHEMES

    (@yithemes)

    I’m happy it worked fine ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode for Reset password page’ is closed to new replies.