Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1139567
    thatcreativeguy
    Participant

    How do I link the WordPress login page logo to the clients homepage? – http://www.supremevinegar.com. Right now, it links you back to the WordPress website. Thanks!

    Link here – http://supremevinegar.com/wp-login.php

    #1140041
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> JavaScript :

    jQuery("#login h1 a").attr("href","http://supremevinegar.com");

    Hope that helps.

    #1175161
    thatcreativeguy
    Participant

    That didn’t work for me. I am actually using the White Label plugin, if that helps…I’ve done it before and just can’t remember what I did…

    #1175452
    Darshana
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then add the following code into your child theme’s functions.php file.

    
    // WP Login logo link
    // =============================================================================
    function custom_login_custom_link() {
        return esc_url( home_url() );
    }
    add_filter('login_headerurl','custom_login_custom_link');
    // =============================================================================
    

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1139567 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>