Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am frustrated having to click on the "Upload Files" constantly instead of the first choice being Upload Files in posts editor....How can i make “Upload files” selected by default instead of "Media library"?

share|improve this question
It's worth noting that you can drag and drop files and initiate upload while in the "media library" panel without having to actually click "upload files" first. –  Milo Apr 20 '13 at 1:32

1 Answer 1

Add this to your functions.php, or preferably a functionality plugin.

add_action( 'admin_footer-post-new.php', 'media_manager_default' );
add_action( 'admin_footer-post.php', 'media_manager_default' );

function media_manager_default() {
    <script type="text/javascript">

UPDATE for WP 4 (according to reports): Make "Add Media" button lead to "Upload" tab instead of "Gallery" by defaut

share|improve this answer
Damn dude how deep into core did you have to go to pull that one out? –  Andrew Bartel Apr 19 '13 at 23:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.