Change the “Enter title here” Placeholder Text

If “Enter title here” is just to boring for you, change it.

Could be especially useful for custom post types that use the title field in an untraditional manner.

add_filter( 'enter_title_here', 'change_enter_title_text', 10, 2 );
function change_enter_title_text( $text, $post ) {
        return 'The title. Don't forget to double-check your spelling before publishing.';
}

One thought on “Change the “Enter title here” Placeholder Text”

  1. Mark

    Thanks for the tip. This was exactly what I needed. And while I’m here, don’t forget to escape the apostrophe in “Don’t”!

Leave a Reply

Your email address will not be published. Required fields are marked *