Redirect "or Create an Account" Login Modal link to a Custom Register Page
KLEO: Redirect "or Create an Account" Login Modal link to a Custom Register PageIf you want to change the link that appears at the login modal “Or Create an Account” to your own register page, do the following:
-
Go to wp-content/themes/kleo at your hosting file manager or ftp
-
At the folder page-parts, find the file general-popups.php, copy it
-
Now go to wp-content/themes/kleo-child
-
Create the folder page-parts and paste the file inside
-
Edit the file Find
<p> <em><?php esc_html_e( "or", 'kleo_framework' );?></em> <a href="<?php if (function_exists('bp_is_active')) bp_signup_page(); else echo get_bloginfo('url')."/wp-login.php?action=register"; ?>" class="new-account"> <?php esc_html_e( "Create an account", "kleo_framework" ); ?> </a></p>Replace with
<p> <em><?php esc_html_e( "or", 'kleo_framework' );?></em> <a href="YOUR URL" rel="nofollow"> <?php esc_html_e( "Create an account", "kleo_framework" ); ?> </a> </p>Change YOUR URL for the url to redirect them so they can register