Title: Remove page title &#8216;WordPress&#8217;
Last modified: January 7, 2021

---

# Remove page title ‘WordPress’

 *  [Kozley](https://wordpress.org/support/users/kozley/)
 * (@kozley)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/remove-page-title-wordpress/)
 * I tried to remove page title as this ‘– WordPress’ from admin login with this
   code in functions.php:
 *     ```
       function custom_login_title( $login_title ) {
       return str_replace(array( ' &lsaquo;', ' — WordPress'), array( ' &lsaquo;', ''),$login_title );
       }
       add_filter( 'login_title', 'custom_login_title' );
       ```
   
 * It doesn’t works. Any know how to code for remove page title?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [calliealbert](https://wordpress.org/support/users/calliealbert/)
 * (@calliealbert)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/remove-page-title-wordpress/#post-13876078)
 * Maybe you’re not trying to get rid of all your page titles; what if you just 
   want to hide all the page (but not post) titles on your site? In that case, all
   you need to do is slightly tweak the above CSS code. Just add “.page” in front
   of the code. For instance:
 *  [Ian Sackofwits](https://wordpress.org/support/users/plantprogrammer/)
 * (@plantprogrammer)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/remove-page-title-wordpress/#post-13876443)
 * Hey, kozley, this code snippet should adjust the title to remove the mention 
   to WordPress:
 *     ```
       function custom_login_title( $title ) {
       	return str_replace( " — WordPress", "", $title );
       }
       add_filter( 'login_title', 'custom_login_title' );
       ```
   
 * As you can see in this image below, I was able to remove the mention to WordPress
   on my login page:
 * ![](https://i0.wp.com/imgur.com/StWQ31H.png?ssl=1)
 *  Thread Starter [Kozley](https://wordpress.org/support/users/kozley/)
 * (@kozley)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/remove-page-title-wordpress/#post-13876497)
 * Thank you [@plantprogrammer](https://wordpress.org/support/users/plantprogrammer/)
   for code snippet. The title isn’t removed.
    -  This reply was modified 5 years, 5 months ago by [Kozley](https://wordpress.org/support/users/kozley/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove page title ‘WordPress’’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Kozley](https://wordpress.org/support/users/kozley/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/remove-page-title-wordpress/#post-13876497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
