Skip to content

Instantly share code, notes, and snippets.

@barbrick
Created June 2, 2014 18:33
Show Gist options
  • Save barbrick/bdd011561351080d298c to your computer and use it in GitHub Desktop.
Save barbrick/bdd011561351080d298c to your computer and use it in GitHub Desktop.
Change the Title placeholder in WordPress post types
function change_post_title($title){
if ('post' == get_current_screen()->post_type) $title = 'Enter Post Name Here';
return $title;
}
add_filter('enter_title_here', 'change_post_title');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment