• Is there any way to add another hyperlink to the bottom portion of the wp-login page? I have seen plugins that allow me to customize the logo and CSS on the wp-login page, but that’s about it.

    I have a multisite setup with multiple bloggers. I was hoping to include a line of text below the login form that says “By blogging on this site, you agree to our Terms of Service.” I want to include a hyperlink so the bloggers can actually click over to read the terms, should they choose to do so. It’s just an added layer of C.Y.A.

    Is there any way to add a hyperlink in this area? It would be right down near the “Lost your password” link, like on the next line or something.

    Thanks in advance for taking the time to help me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was looking at the wp-login.php file and noticed that there’s an action location:

    <?php do_action('login_footer'); ?>

    available… to use.

    So

    add_action('login_footer', 'my_addition_to_login_footer');
    function my_addition_to_login_footer() {
         echo '<div style="text-align: center;">link to someplace</div>';
    }

    verified it on my dev site, yeah this would work for you to do that.

    You could add a quick php file and put it in the mu-plugins folder with just that code in it – should work, haven’t tried.

    Thread Starter Brandon99

    (@brandon99)

    That worked perfectly. Thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding another link on the wp-login page’ is closed to new replies.