Remove title and edit box from Edit Post screen (6 posts)

  1. omnialex
    Posted 4 years ago #

    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 http://codex.wordpress.org/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?

  2. zartgesotten
    Posted 4 years ago #

    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.

  3. Rubyfire
    Posted 4 years ago #

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

  4. Shailesh
    Posted 4 years ago #

    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");
  5. danromanchik
    Posted 3 years ago #

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

  6. danromanchik
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic