Custom Login Page compatibility
-
Hey guys, great plugin but I was hoping you could help me tweak it alittle. I added a script to use a custom frontend login skipping the wp-login.php.
function custom_login_page() { $new_login_page_url = home_url( '/Login/' ); // new login page global $pagenow; if( $pagenow == "wp-login.php" && $_SERVER['REQUEST_METHOD'] == 'GET') { wp_redirect($new_login_page_url); exit; } } if(!is_user_logged_in()){ add_action('init','custom_login_page'); }
I wanted to have my own frontend login that seamlessly blended with the website. I installed your plugin and tried tweaking the code alittle but can’t seem to get it right. I would never ask you to write custom code for free but maybe you could point me in the right direction of getting your plugin to work with my setup. Thanks and hope to hear back from you soon.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Login Page compatibility’ is closed to new replies.