This website uses cookies to allow us to see how the site is used. If you continue to use this site, we assume that you are okay with this. If you want to use the sites without cookies, please see our privacy policy.

Change the “Enter Title Here” for Custom Post Types

Custom post types in WordPress are a powerful feature. If you are creating one chances are you want to customise every aspect of the CPT’s look in the WordPress admin area from labels to messages.

If you ever need to change the “Enter Title Here” for Custom Post Types this little filter snippet allows just that when a user is adding a new post.

function cpt_enter_title_here( $title ){
    $screen = get_current_screen();
    if ( 'custom_post_type' == $screen->post_type ) {
        $title = 'Custom Post Type Title Text';
    return $title;

add_filter( 'enter_title_here', 'cpt_enter_title_here' );

Source –


Iain Poulson is a WordPress and PHP developer, writer, and plugin author. His plugins include Intagrate the WordPress publishing for Instagram, and WP User Manager the membership, user profile, and community plugin. He also co-hosts the WordPress development and business podcast Pressing Matters. You can find him on Twitter @polevaultweb.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.