Support » Fixing WordPress » Remove some post boxes

  • happykev


    Under “Write Post” page, they’re too many of option boxes. I would like to remove them and just leave the writing box.

    Some option box i would like to remove are:

    File uploader box
    Optional Excerpt box
    Custom Fields
    Post Timestamp box on the right hand side.

    Could someone please tell me which .php file i should modify? I just can’t find it. Is post.php?

    Thanks for your help/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Not a solution, but you can close the box using the ‘+’ and ‘-‘ symbols on the right, and normally, the value is remembered the next time you go to write a post. That way, incase you ever do need the feature, you can expand the box and it’s there.

    For everything except the image/file uploader

    Les Bessant


    keeper of the Tiggers

    You can hide (not actually remove) the upload box by editing wp-admin\wp-admin.css.

    Look for #uploading {

    and add

    display: none;

    to the definition.

    Or if you want to avoid editing the file every time you upgrade, try this plugin:

    Plugin Name: Customise Post Page
    Plugin URI:
    Description: Hides the upload area from the post page. Based on work by Mike Purvis (
    Author: Les Bessant
    Author URI:
    Version: 0.1

    add_action('admin_head', 'hide_upload_box');

    function hide_upload_box() {
    global $parent_file;

    if ('post.php' == $parent_file) {
    echo '<style type="text/css">#uploading { display: none; } </style>';

    Mike Purvis posted the original on one of the mailing lists, I adapted it for hiding the upload box. You could change it to tweak any CSS on the page, of course.



    I’ve just hided file uploader box by adding “display: none; “

    But what about
    Optional Excerpt box
    Custom Fields?

    They’re not in the wp-admin.css



    use the + sign to close them.



    I don’t see the + sign in there.



    Nevermind, i found everything in the editform advance script. I can just del whatever there.

    miklb, thanks for the wrong answer.

    It wasn’t the “wrong answer”, as my reply started with “Not a solution…”



    happykev, keep in mind that when you upgrade next, your edits will be overwritten – you’ll need to redo them.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove some post boxes’ is closed to new replies.