Inspiration For Creative Minds
Home » Labs » How to change “Enter Title Here” from WordPress  

Filed under Labs

By default WordPress displays “Enter title here” placeholder text in the title field of a Add post page. You can change this by adding below snippet to your functions.php file on theme folder.

 
	<?php
		function change_default_title( $title ){
			 $screen = get_current_screen();
			 if  ( 'POST_TYPE' == $screen->post_type ) {
				  $title = 'Enter Custom Title';
			 }
			 return $title;
		}
		add_filter( 'enter_title_here', 'change_default_title' );	
	?>
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook
Labs

Posts you may like: