Forums

Removing Upload Section From Write Page. How? (5 posts)

  1. FionaGilbert
    Member
    Posted 2 years ago #

    Hi there,

    I never use the upload feature from the write page in admin and always feel it is in the wrong place.

    Is there a way that (with a plugin) that either allows me to move this to the bottom of the write page or removr it completely?

    Thanks you.

  2. whooami
    Member
    Posted 2 years ago #

    I removed mine completely. And I moved the excerpt back where it belong too (under the title), and i killed the preview, and and and ..

    You dont say what version you are using, however for 2.2:

    delete this from wp-admin/edit-form-advanced.php

    <?php
    if (current_user_can('upload_files')) {
    	$uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID);
    	$uploading_iframe_src = wp_nonce_url("upload.php?style=inline&amp;tab=upload&amp;post_id=$uploading_iframe_ID", 'inlineuploading');
    	$uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    	if ( false != $uploading_iframe_src )
    		echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    }
    ?>

    done.

    its pretty much the same across all three of the recent releases, 2.0.x, 2.1.x and 2.2.x, that bit above should point you in the right direction.

  3. FionaGilbert
    Member
    Posted 2 years ago #

    That's great, thanks so much!

    As a matter of interest can you tell me exactly what the 'excerpt' is used for - in what context?

    Also how did you place it under the title?

    Many thanks again :)

  4. moshu
    Member
    Posted 2 years ago #

    It is used IF the template tag is present in the template file(s).

  5. ninjaboy
    Member
    Posted 2 years ago #

    Yup, thats the way I used to do it - until I discovered this plugin a while back... it really works a treat!

    It gives you complete control over what to display in the write and edit windows, just what you need without hacking core code:

    http://txfx.net/code/wordpress/clutter-free/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.