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
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
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
Hi,
You can place this at the end/bottom of functions.php
Best regards,
Nikko
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
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
OK THX
Hi,
Glad we could help. Let us know if you need anything that’s related on this topic :)
Best regards,
Nikko