0
votes
0answers
127 views

WP_Customize_Image_Control is not doing very much

I am trying to add a logo option. The section and the option shows up under Appearance - Customize as expected. It offers me to upload an image. I do that. The image gets uploaded, but the option ...
0
votes
1answer
51 views

How can I add a Description column to the media library browser screen?

I'm trying to display the description of each file on the media library browser screen. I've found some code that adds a filename column, but I'm trying to modify it so that it will display the ...
0
votes
2answers
64 views

How can I create more “create attachment” custom field - any idea?

define('MY_POST_TYPE', 'myslider'); define('MY_POST_SLUG', 'myslider'); function my_register_post_type () { $args = array ( 'label' => 'Gallery', 'supports' => array( ...
1
vote
0answers
322 views

Can I create my own custom Attachment Display Setting?

I'm porting a client site over to WP from an old customized .Net CMS and something their existing system does well is the site admin interface contains a simple utility for uploading media to the ...
2
votes
1answer
119 views

Hide upload image fields for the different media upload popups

I am trying to change a few of the options in the Set Featured Image popup in the Wordpress admin. I can't seem to find anything that determines if the popup window is a Featured Image or an Add Media ...
1
vote
1answer
147 views

problem in uploading attachment to custom directory

i have been trying to upload the attachments to the custom directory without affecting the old uploads. so i use this bellow code to achieve that add_filter('wp_handle_upload_prefilter', ...
5
votes
1answer
326 views

Limit Media Library to Given Folder

I have made a plugin that uses the Media Library to allow users to upload files to a specific directory - using the upload_dir filter. I would like to know if there is a way (i.e. a filter) I can use ...
4
votes
2answers
261 views

Add more rows on media picker

I'm trying to add more rows in the media picker modal window. Is there any clean way to achieve doing this ? Thanks !
1
vote
1answer
832 views

display image size in media library screen

i'm trying to add image size in media library screen so will be simply to handle images. Anyone does it before me? Any help appreciated. Francesco
1
vote
1answer
3k views

I'm using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box

I'm using a very lightweight plugin called WPAlchemy that lets me rapidly create meta-boxes for posts and pages. I've ben able to convert <textarea>'s into rich, TinyMCE's editors just fine. ...