Support » Plugin: Cerber Security & Antispam » Bug in the Custom-Login-Page

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Gioni

    (@gioni)

    Please be more specific and explain what do you mean by the “Custom Style-Sheets”.

    alphawolfyasu

    (@alphawolfyasu)

    I’m using a Child-Theme to customize the Login-Page

    
    <?php
    function custom_login() { 
        wp_enqueue_style('login-styles', get_stylesheet_directory_uri().'/login.css');
    }
    add_action('login_head', 'custom_login');
    ?>
    

    Some other Plugins, like User Switching (https://de.wordpress.org/plugins/user-switching/) can’t manipulate the Login/Logout-Page, too.

    8blocks

    (@8blocks)

    Experiencing the same issues since the last update.

    bacteriano

    (@bacteriano)

    Hello! I have the same issue, in version 5.0 my custom login page works fine but in 5.1 not šŸ™

    Max Beta

    (@max-beta)

    Same problem here.

    I usually change the WP logo but I also added a background image at one site. All these changes are lost with 5.1.

    Plugin Author Gioni

    (@gioni)

    Hi! I’ll be back soon. Iā€™m off the grid now.

    Having the same problem since testing 5.1 on our dev sites. Using a child theme to get custom login css and even title attributes for the image.

    This is the code in our Child Theme’s functions.php file that no longer works as of 5.1. Doesn’t throw any errors either.

    <?php
    
    function my_login_logo() {
        wp_enqueue_style( 'login-custom-style', get_stylesheet_directory_uri(). '/login_style.css', array('login') );
    }
    add_action( 'login_enqueue_scripts', 'my_login_logo' );
    
    function my_loginURL() {
        return 'https://www.mysite.com';
    }
    add_filter('login_headerurl', 'my_loginURL');
    
    function my_loginURLtext() {
        return 'Built by MyCompany, Inc.';
    }
    add_filter('login_headertitle', 'my_loginURLtext');
    ?>
    • This reply was modified 2 months, 3 weeks ago by  aeeiee.
    Plugin Author Gioni

    (@gioni)

    Hey! The topic issue has been fixed in the version 5.2.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.