Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    Hi Hangojango, if the EDD login shortcode looks the way you like, I’d suggest using that and disabling the UO Toolkit login feature. The only thing you’ll lose is an automatic redirect from /wp-login.php to your login page. However, you could use a separate redirection plugin to redirect users from /wp-login.php to your designated login page. Or, you could simply add a “Login” link to your menu that points to your custom login page.

    As for which login shortcode you should be using, I don’t think it will make a difference which you use, as both perform the same function–to authenticate the user and log them into the site.

    Thread Starter hangojango

    (@hangojango)

    Thanks!

    Thread Starter hangojango

    (@hangojango)

    By the way, for anyone else interested in this, you can redirect the generic wp-login.php form to your own custom page (with shortcode) by following information in these links:

    http://montanaflynn.me/2012/08/wordpress/redirecting-users-to-a-custom-login-page-while-using-wordpress/ Scroll down to comment by Bevels.

    https://www.inkthemes.com/how-to-redirecting-wordpress-default-login-into-a-custom-login-page/

    This is the code that I put into my functions.php file in my child theme folder (and it works – without having to pay for a plugin with extra clutter):

    // Since I don’t like the look of the Uncanny Owl Toolkit login AND I want (WooCommerce) registration on the same page, I need to redirect normal wp-login.php to mydomain.com/login page.

    function redirect_login_page(){

    $page_viewed = basename($_SERVER[‘REQUEST_URI’]);

    // Where we want them to go
    $login_page = site_url(‘login-2’);

    if( $page_viewed == “wp-login.php” && $_SERVER[‘REQUEST_METHOD’] == ‘GET’) {
    wp_redirect($login_page);
    exit();
    }
    }

    add_action(‘init’,’redirect_login_page’);

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Login styling’ is closed to new replies.