• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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;
}

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems