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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

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

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.