# Extra Links Below the Login Form

> Adds a row of links under the login box, such as Contact, Help or Terms of Use.

- Type: PHP
- Runs: Run everywhere
- Category: [Login](https://wpide.com/library/category/login/)
- Tags: login, links, footer
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/login-footer-links/

## Code

```php
// Label => URL.
$wpide_login_links = array(
    'Help'    => home_url( '/help/' ),
    'Contact' => home_url( '/contact/' ),
    'Terms'   => home_url( '/terms/' ),
);

add_action( 'login_footer', function () use ( $wpide_login_links ) {
    if ( empty( $wpide_login_links ) ) {
        return;
    }

    $links = array();
    foreach ( $wpide_login_links as $label => $url ) {
        $links[] = sprintf( '<a href="%s">%s</a>', esc_url( $url ), esc_html( $label ) );
    }

    echo '<p class="wpide-login-links" style="text-align:center;margin:0 auto 24px;font-size:13px">' . implode( ' &middot; ', $links ) . '</p>';
} );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Extra Links Below the Login Form" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
