• Yes, believe it or not I want to get rid of the boxes to edit the title and post content from the edit post screen. I’m using WP to create an order system for a client and these fields just aren’t relevent, I don’t want to confuse the eventual user with them.

    I’ve had a look at https://codex.www.ads-software.com/Function_Reference/remove_meta_box

    But the title and editor aren’t listed there and putting title, etc, as the meta to remove doesn’t work. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You could use custom post types and totally design your own edit screen. The Plugin Custom Post Type UI does all that and gives you the opportunity to decide whether you want the editor on the edit page.

    Place this right after your register_post_type call
    remove_post_type_support( 'my_post_type', 'editor' );

    Shailesh

    (@shaileshsavaliya)

    Try this,
    Paste this code in your functions.php

    function remove_box()
    {
    	 remove_post_type_support('post', 'title');
             remove_post_type_support('post', 'editor');
    }
    add_action("admin_init", "remove_box");
    danromanchik

    (@danromanchik)

    Is there a way to remove some custom fields, but not all of them?

    danromanchik

    (@danromanchik)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove title and edit box from Edit Post screen’ is closed to new replies.