• Resolved hangojango

    (@hangojango)


    Hello,

    I know this is a new plugin and you are focusing on functionality over custom styling – but maybe you could suggest where others can look to modify CSS in child theme (or other option).

    On my Login page (which I’ve called Login or Register), I have the Uncanny Owl shortcode (uo_login_ui) in a column beside the Easy Digital Downloads shortcode for registration (edd_register).

    The UO shortcode is less to my liking, with big text saying “Login”. (If you removed that, people could choose their own text and styling of it.)

    EDD provides a shortcode for login too, which is more in keeping with its register shortcode (field placed below field name, not in line). I’d like to use the EDD login shortcode next to the EDD register shortcode but UO inserts a message onto the page if I don’t include its shortcode (since I have pointed back to the page from within UO Login Settings).

    I know I could have a separate page for Login and Register but I don’t like that as optimum design.

    Is there any way I can still have UO point to the Login page even if I don’t include UO’s login shortcode there?

    Which login shortcode should I be using (UO or EDD) if all my purchase transactions (i.e. course registrations) will be handled by EDD?

    Thanks.

    https://www.ads-software.com/plugins/uncanny-learndash-toolkit/

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:

    https://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.