I added few custom fields via attachment_fields_to_edit and would like to show them only when certain theme or page builder image option opens the wp.media.iframe. Currently they are visible...
I’m trying to use the attachment_fields_to_edit hook to create new fields on media attachments. According to the new documentation, one of the parameters is an “array of attachment form...
I’m using WP 4.1.1 and trying to create a default value for the ‘Alt text’ when uploading an image (dropping it straight into post and dialog appears). I’ve tried...
In the EU it will shortly be a requirement for public sector websites to have alt text for uploaded images. My organisation’s users are rubbish at adding alt text,...
I would like to be able to determine if an image has been attached to a post by looking at the collapsed viewmedia library tab. Is there’s a hook...
I have the following filter, but do not know how to add custom attributes to image field, when attaching media to post. example <img data-ext-link-title="" data-ext-link-url=""> functions.php function pp_external_link_edit(...
I’m using the code below to add a custom text field in WP 3.5 Attachment Window (from this question # Expanding new Media Uploader in WordPress 3.5) … add_filter(...
Default (big and ugly) Thickbox I don’t like how this Thickbox’s page looks at all, I almost never use all these settings fields so decided to get rid off...
I’ve added a custom meta field to my image details so that a client can add a number to their photos (a design choice). The data would need to...
How could I add button next to “edit image” button in “Attachment Details” This is the location I would like to add button, Do you have any recommend? 1...