Friday, 13 February 2015

How to Replace ‘Enter Title Here’ Text in WordPress

How to Replace ‘Enter Title Here’ Text in WordPress 

If you want to text of wordpress post placeholder "Enter Title here"

please check below code.

in your theme function.php file

function my_information_blog_change_title(){
        $screen = get_current_screen();
        if('post' == $screen->post_type ){
            $title = 'Enter your name';
        return $title;

here you can change any of post place holder. just change in if contion "post" in post  name you can change in  custom post name here and change text in $title variable.

No comments:

Post a Comment

Thank You For Comment