Protecting direct access to PDF and ZIP unless user logged in (without plugin)
Working on a WordPress support site which has registered only user content, including uploaded PDF and ZIP files.
Working on a WordPress support site which has registered only user content, including uploaded PDF and ZIP files.
I’ve followed this article to use Media Uploader in my code. When I click the Browse button on my form, the media uploader opens and after selecting the image, I get the URL of that image added in my form field. No issues so far.
I’ve been trying to add category, tag, or custom taxonomy support to images (or all media, though I’m only concerned with Images). I’ve got it part-way figured out with:
I would like to offer my visitors the option to download the entire photo gallery (displayed on dedicated pages) as a ZIP file displayed at the bottom of each gallery page. – The full-sized image will have to be included.
Simply put – how might I completely hide media files uploaded by any other users other then themselves? Id like to disable access to these links & files since they are a way for non-admin users to be able to access and edit a custom post type that is normally not visible to them otherwise in the backend of wordpress.
› Moderator Notice ‹
What I finally want to achieve are extra settings added to the Image Details box, that will be stored in the image <img> tag as data-* attributes
I am not sure how many of you have experimented with the new custom header image functionality of wordpress 3.0 but its actually very cool (enabled by adding the function to your functions.php file).
I would like to implement an inline file uploader to my plugin’s option page as introduced in new media grid view of the WP media library:
I am working on a WordPress site that has a custom front-end submission form for adding in a post of content type, ‘sketchpad’. The form has a section that allows you to upload multiple images with a description field which is going to be used as an alt tag. What is an easy way for me to upload multiple attachments with accompanying descriptions from the front-end?