• Resolved stevlandambrose

    (@stevlandambrose)


    As reported by another user and ignored (Customising Logo URL doesn’t work), this function does not work.

    Further, the reason I discovered this is because even without a custom Logo URL clicking the logo only reloads the page.

    If you view the source code of the login page it is obvious why this is happening:

    <h1><a href="">https://mysite.com</a></h1>

    And yes, I disabled all other plugins to troubleshoot. I am not using any custom JS.

    Rather than waiting for an update/ fix I would love to hard code the URL into the plugin files… but I can’t figure out where make the edit.

    Otherwise an excellent plugin. Thank you. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Emma

    (@emma24)

    Hi @stevlandambrose,

    Thank you for reaching out and for the detailed report. ??

    I understand the issue you’re facing with the Logo URL. However, after testing on our end, we could not replicate the issue. In our environment, the URL is being added properly as expected:

    <h1><a >https://mysiteurl.pro</a></h1>

    That said, we’ll be conducting another round of QA to ensure that this doesn’t occur under specific conditions. If the issue is again not replicated on our end, we may need temporary access to your setup to investigate.

    For now, instead of changing the code directly in the LoginPress plugin, you can use this filter in your theme’s functions.php file:

    function custom_login_logo_url() {
    return 'https://your-custom-url.com'; // Replace with your desired URL
    }
    add_filter('login_headerurl', 'custom_login_logo_url');

    Thanks again for your patience and for using LoginPress. We’re committed to ensuring everything works seamlessly.

    Thread Starter stevlandambrose

    (@stevlandambrose)

    I ended up adding some custom js to achieve the same result.

    But thank you for your quick and super helpful response!

    Plugin Support Emma

    (@emma24)

    Glad to hear that you managed to resolve the issue. Thank you for your kind words!

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