# Change the Login Page Browser Title

> Sets the browser tab title of the login screens to "Log In | Your Site" instead of the WordPress default.

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

## Code

```php
add_filter( 'login_title', function ( $login_title, $title ) {
    return wp_strip_all_tags( $title ) . ' | ' . get_bloginfo( 'name', 'display' );
}, 10, 2 );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Change the Login Page Browser Title" 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/
