Tagged Questions
5
votes
2answers
786 views
Remove “Insert from URL” link in Media upload - WP 3.5
How do I remove the Insert from URL link in the new Wordpress 3.5 Add Media popup page? In earlier versions of Wordpress, this worked fine:
// removes URL tab in image upload for post
function ...
2
votes
2answers
502 views
How to register images uploaded via FTP in media library?
I'm using my own upload.php file to upload images to:
$upload_dir = wp_upload_dir();
$targetDir = $upload_dir['path'].'/';
It works like it should with this exception that images uploaded to ...
1
vote
1answer
346 views
How to Removing fields from the Media Uploader/Gallery on a Custom Post Type Edit Page
This post shows how to remove unwanted fields from the media uploader. It works great, but I want to limit it to a custom-post-type and I can't seem to figure out how to do it. I've tried the ...
3
votes
3answers
2k views
Add new “Insert Into Post” button with another function
Problem: Add a hook that automatically adds a short tag to video attachments
when inserted from the Media Library (video) tab:
Update:
This works under the 'Media Library' tab — and doesn't break ...
