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/

How to modify Media Library images

A quick look at the media page with Firebug shows that this CSS statement will allow you to change the size of the picture: .media-frame-content[data-columns=”9″] .attachment { width: 11.11%; } Change the ‘width’ value to something different, with the understanding that the change may affect how the page looks on different size screens. You should … Read more

Admin Media grid view images won’t load

Problem is now solved. Thanks to user “blobfolio” here: It sounds like you may have corrupted the image metadata. Have you tried running a plugin like https://wordpress.org/plugins/force-regenerate-thumbnails/ to regenerate the images/meta? Solution: So the solution is to force regenerate all the thumbnails. For example using the plugin mentioned above in the quote.

Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)

I’ve had this same problem for ages and have currently landed on the following combination of plugins to resolve the issue: Media Tags Tag Gallery Cleaner Gallery Additionally, I made two modifications to the tag gallery plugin (to remove TimThumb and allow reverse ordering) This solution still has a lot of downsides including that it … Read more

How to enlarge thickbox media library iframe?

Yep, it’s curious that adding the extra parameters doesn’t works… I know that Adminimize does that. Looking at its code, that’s what it does: wp_deregister_script( ‘media-upload’ ); wp_enqueue_script( ‘media-upload’, WP_PLUGIN_URL . “https://wordpress.stackexchange.com/” . FB_ADMINIMIZE_BASEFOLDER . ‘/js/tb_window.js’, array( ‘thickbox’ ) ); And this is the tb_window.js file: // send html to the post editor function send_to_editor(h) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)