Before you ask please READ THIS

WordPress Login Page on WooCommerce

Hi team,

I made changes to the customizer on the Password Protected Page to reflect a new design but whenever simulate a customer typing the wrong password, I get the standard Wordpress Login page. I don't have a cache plugin and I also tried to use the My Account page as the Password Protected Page, however I never get the expected result. Is there a way to customize this login page (found on with my logo, pointing out to my website instead of the standard WP page?

Thank you so much.


  • HI,

    Sorry team, nevermind. Found some code that did the trick.

    Thank you.
  • AirAir
    Posts: 10,732
    Hey :-)

    Glad you did it!

    Have you used some plugin?

    With kind regards.
  • edited February 2021 Posts: 6
    Nope, it was a simple code in the functions.php and CSS. As I'm using a child theme, it was not too hard:

    function my_custom_login_stylesheet() {
    wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/style.css' );
    add_action( 'login_enqueue_scripts', 'my_custom_login_stylesheet' );
    function my_login_logo_url() {
    return get_bloginfo( 'url' );
    add_filter( 'login_headerurl', 'my_login_logo_url' );
    function my_login_logo_url_title() {
    return 'Loja Oficial Romildo Silva Filho';
    add_filter( 'login_headertitle', 'my_login_logo_url_title' );
    .login h1 a {
    background-image: url("");
    background-size: 256px 256px;
    width: 256px;
    height: 256px;
    body.login {
    background: #FFFFFF;
    Of course you guys might know an easier way, but that is what I could muster right now.

    Thank you as always.

    Post edited by Air on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!