Customize Enter Title Here Placeholder Text On Admin Edit Screens

WordPress includes a filter named enter_title_here which enables you to modify the output of the default Enter title here placeholder text you see in every edit screens title field:

Here’s what i’m referring to:

default enter title here text

This code enables you to change the default text to whatever you like:

Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++

And here’s the result the above code produces:

custom enter title here text

Style Enter Title Here Field

You could also register a custom style sheet for modifying admin styles and style your placeholder text and background differently.

Here’s some sample code you can put in your custom-admin-style.css file

#titlediv #title {
    background-color: #0074A2;
}

#titlediv #title-prompt-text {
    color: #fff;
}

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.