Change default tab of media manager

Try this: function rearrange_media_tabs($_default_tabs) { $_default_tabs = array( ‘custom’ => __(‘Your Tab Name’), ‘type_url’ => __(‘From URL’) ); return $_default_tabs; } add_filter( ‘media_upload_tabs’, ‘rearrange_media_tabs’ ); From the Codex: https://developer.wordpress.org/reference/functions/media_upload_tabs/

Filter what image sizes get generated

Picking which image sizes to generate on a per-upload basis is definitely going to be a bit involved. However, if you’re okay with just entirely removing default image sizes, you have a couple of options, as described in this article: The simplest way is to set the default image height and width to ‘0’ at … Read more

Shortlink directly to a media file?

It turns out this is easily solved by creating a file attachment.php and redirecting to the file itself. Create an attachment.php file in your WordPress theme folder Put this code in the file <?php wp_redirect(wp_get_attachment_url(), 301); ?> Upload it and there you go This link explains in full.

Best image hosting service

Its not recommended often enough, but Flickr is an excellent image host for blogs as well. Their pro account costs only $25/year. You get unlimited image, video uploads and no bandwidth limit. If you don’t want your blog image uploads populating your personal photostream, you can easily create a separate account for it. You can … Read more

Image dimensions same as image size

No, it won’t create a new image that is exactly the same size.. nor should it. All the thumbnail, medium, and large images are resized images, by definition. Since the original image is already 600×600, there’s no point in creating another file at the same size, but with a lower quality (remember that JPEG compression … Read more

Rename “Add Media” Button To “Add Images”

The button text being a translatable string, you can make use of the gettext filter: function wpse95025_rename_media_button( $translation, $text ) { if( is_admin() && ‘Add Media’ === $text ) { return ‘Add Images’; } return $translation; } add_filter( ‘gettext’, wpse95025_rename_media_button, 10, 2 ); For the sake of completeness: Of course, you can also keep the … Read more