Last Updated: February 25, 2016
·
473
· aztecio

Change default ‘Enter Title Here’ for custom post types

Adding this to functions.php in your Wordpress theme let's you change the tired default Enter Title Here for new custom post types, to anything you wish...

function change_default_title( $title ) {
   $screen = get_current_screen();
      if  ( 'POST_TYPE' == $screen->post_type ) {
   $title = 'Enter New Field Title';
  }
   return $title;
  }
add_filter( 'enter_title_here', 'change_default_title' );