0
votes
1answer
66 views

Add metabox with media uploader in a custom post type

I need to create a "media uploader metabox" and add it to my custom post type. I've already create normal metaboxes, the function to add to the custom post type and the function to save them, I only ...
1
vote
1answer
31 views

How to create media library for each user?

In my project there are three types of users, teacher, student, and admin. Each user has the provision to add posts. But my problem is that each user need each media library for add images into post. ...
4
votes
2answers
261 views

Delete Associated Media Upon Page Deletion

Note Use at your own risk, it is buggy and I have run across a couple instances where it would delete ALL attachments. Unsure why. Is it possible to delete media associated with a page when that ...
0
votes
1answer
220 views

All images on one line for each post

Having trouble getting around the issue where my client wants all of the images for each post to be on one line. This can be done in the editor, but they are not very tech savvy -- just wants to be ...
3
votes
3answers
326 views

Downloadable Documents

I have Press Release Section on my page where i would like to be able to add documents pdf, ms doc's etc. Every time when i add new document to a post I would like download button to appear so user ...
0
votes
3answers
301 views

Get attachment if matches a variable

how do I match an image title from the media library to a variable then echo that image? this is my current code... <?php $args = array( 'post_type' => 'attachment', 'numberposts' ...