Last active
February 25, 2019 21:28
Revisions
-
isGabe revised this gist
Apr 14, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,6 @@ function wpfstop_change_default_title( $title ){ return $title; } add_filter( 'enter_title_here', 'wpfstop_change_default_title' ); ?> -
isGabe revised this gist
Apr 14, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ source: http://flashingcursor.com/wordpress/change-the-enter-title-here-text-in-wordpress-963 */ function wpfstop_change_default_title( $title ){ $screen = get_current_screen(); -
isGabe revised this gist
Jun 13, 2013 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,6 +22,4 @@ function change_default_title( $title ){ add_filter( 'enter_title_here', 'change_default_title' ); ?> -
isGabe revised this gist
Jul 12, 2012 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,8 @@ with something more descriptive can be helpful for custom post types place this code in your theme's functions.php or relevant file source: http://flashingcursor.com/wordpress/change-the-enter-title-here-text-in-wordpress-963 */ function change_default_title( $title ){ -
isGabe revised this gist
Jul 12, 2012 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,15 +10,16 @@ function change_default_title( $title ){ $screen = get_current_screen(); if ( 'your_custom_post_type' == $screen->post_type ){ $title = 'Your custom placeholder text'; } return $title; } add_filter( 'enter_title_here', 'change_default_title' ); ?> -
isGabe revised this gist
Jul 12, 2012 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,11 @@ <?php /* replacing the default "Enter title here" placeholder text in the title input box with something more descriptive can be helpful for custom post types place this code in your theme's functions.php or relevant file */ function change_default_title( $title ){ -
isGabe created this gist
Jul 12, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ <?php /* replacing the default "Enter title here" placeholder text in the title input box with something more descriptive can be helpful for custom post types */ function change_default_title( $title ){ $screen = get_current_screen(); if ( 'your_custom_post_type' == $screen->post_type ) { $title = 'Your custom placeholder text'; } return $title; } add_filter( 'enter_title_here', 'change_default_title' ); } ?>