Hi, @yunis777
You can use the gettext hook for adding the additional hyperlink on the login page.
Example:
function prefix_lost_your_password ( $text ) {
if ($text == 'Lost your password?'){
$text .= '<br /><a href="https://wpbrigade.com">Your Custom Link</a>';
}
return $text;
}
add_filter( 'gettext', 'prefix_lost_your_password' );
I’m not familiar with PHP coding. What about some code that can change the link with the ‘Register’ link to https://mywebsite.com/another-registration-page’? Do you know what i mean?
-
This reply was modified 7 years, 2 months ago by
Yunis777.
Hi, @yunis777
For changing the Registration URL, you have to know a bit knowledge about PHP. Here’s a snippet for changing the registration URL.
add_filter( 'register_url', 'prefix_my_register_page' );
function prefix_my_register_page( $register_url ) {
return home_url( '/register/' );
}
If you need any furthur help regarding PHP code, please contact @ WPBrigade.
Thank you.