How to change “Enter Title Here” from WordPress

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' );	
	?>

Related posts:

HTML5 page structure

HTML5 offers more powerful structure comparing to older versions of Html. There are many new …


Partner with Us

We are providing an exclusive partnership offer to individuals and companies who are interested in setting up their own web design & development company. For more information about how to partner with us, please contact us