Can't Login on [wppb-login] page
-
I am using profile builder because my client wants email confirmation for users. The theme we are using already has login/register functionality, but we want to use profile builder for the above stated reason. I am using custom redirects from wp-login.php with this code:
add_action('init','yobd_reg_redirect'); function yobd_reg_redirect(){ global $pagenow; if( 'wp-login.php' == $pagenow ) { if ( isset($_GET['action']) && $_GET['action']=='register') { ?> <script> window.location.assign("<?php home_url() ?>/create-an-account/"); </script> <?php } else wp_redirect(home_url('/user-login')); exit(); } }
register page works but login does not
this is the url: https://winft.org/user-login/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can't Login on [wppb-login] page’ is closed to new replies.