Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #709090

    Hello,

    on my-account page is the Login section and a link “lost Password” how i can Change the link to a custom site and not to the original word press site.

    Thanks

    regards

    #709635

    Hey gehtsnoch!

    Thank you for using Enfold.

    Please add this in the functions.php file.

    add_action('init','ava_custom_login');
    function ava_custom_login(){
        global $pagenow;
        if( 'wp-login.php' == $pagenow ) {
            wp_redirect('http://site.com/pagehere');
            exit();
        }
    }
    

    Adjust the url of the wp_redirect() function.

    Best regards,
    Ismael

    #710604

    Thanks but i dont know where i have to place this code, on whiche place.

    Parse error: syntax error, unexpected ‘&’ in /www/htdocs/xxxx/xxxx/wp-content/themes/enfold/functions-enfold.php on line 176

    please can you tell me where on top or end of the functions.phpo ?

    Thanks

    #710617

    Hi,

    You can place this at the end/bottom of functions.php

    Best regards,
    Nikko

    #710636

    Thanks it works, how i can change the code thtas only if the customer klick “Lost Password” the customer got to the lost password site, not everytime if he logged out

    Regrads

    #710658

    Hi!

    That would require some extra work to modify the hole process.
    Please consider to hire a freelancer to help you with the process.

    Thanks a lot

    Best regards,
    Basilis

    #710680

    OK THX

    #710695

    Hi,

    Glad we could help. Let us know if you need anything that’s related on this topic :)

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.