Attachments
Extensive usage instructions are available on GitHub Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types. Associate Media items with posts The idea behind Attachments is to give developers the ability to directly associate Media items with any post. This is accomplished by adding a meta box to post edit screens as determined by the developer. Once Media items have been associated with a post, you’re able to retrieve those Attachments and include them directly within your template files using any specific markup you wish. Integrate Attachments within your theme with fine grained control Attachments does not automatically integrate itself with your theme. Since the idea behind Attachments is to allow integration of Media within posts using developer-crafted, unique markup, it’s up to you to integrate with your theme. The most basic integration includes editing the appropriate template file and adding your call(s) to Attachments. For example, if you have set up Attachments to be used with your Posts entries, edit single.php to include the following within The Loop: exist() ) : ?> Attachments Total Attachments: total(); ?> get() ) : ?> ID: id(); ?> Type: type(); ?> Subtype: subtype(); ?> URL: url(); ?> Image: image( 'thumbnail' ); ?> Source: src( 'full' ); ?> Size: filesize(); ?> Title Field: field( 'title' ); ?> Caption Field: field( 'caption' ); ?> That snippet will request all of the existing Attachments defined for the current Post within The Loop, and retrieve each itemized property for that Attachment. Using the provided details you’re able to integrate the attached Media items in any way you please. There is a lot more information on Attachments’ GitHub page. Please contribute! Roadmap Please see Attachments on GitHub Usage Extensive usage instructions are available on GitHub
Product Attachment for WooCommerce
Product Attachment for WooCommerce Plugin will help you to attach/ upload any kind of files for a customer orders. You can attach any type of file like Images, documents, videos and many more. Create a Product Attachment for WooCommerce Plugin let admin user add attachments to products and offer them when customer purchases the product. Attachment download link can be set to auto-expire after a set period of time. Attachments can also be shown on product details page. Pro Plugin Demo: View Demo HOW IT WORKS? Store Owner will be able to attach single or multiple files directly from the “product Edit Page”?. Attachments can be downloadable/viewable on the Order details and/or Product pages. In the case of visibility on order details page, every file can be visible for different order statuses. Note: Some type document WordPress does not allow to upload for security reasons so you can add below code in wp-config.php file for allowing all type upload in Attachment. define('ALLOW_UNFILTERED_UPLOADS', true); Key Features Multiple attachments can be added Attachments can be downloadable in the Order details OR Product Detail pages. This Attachment is set status(Pending payment, Processing, On hold, Completed, Cancelled, Refunded, Failed) after that match this status then auto enable on each order download available. Set auto expiry date for order attachment ( Download link Expire) Enable attachment on Product page. Any type attachments you can attach with order Add Attachment in all products. Each Attachment have own settings (Name, Description, Uploads file, select Order status, Set expiry Date and more) Product Attachment for WooCommerce Pro version: Need even more? upgrade to Product Attachment for WooCommerce Pro version and get access to all extra features available in Product Attachment for WooCommerce Pro. Add attachment with below key features Enable attachment on Product page Add Attachment in all products/variable Products Bulk products attachments assign directly to multiple products Bulk products attachments assign directly to categories Include/Exclude selected Products and Categories Select Attachment Type with File Upload or External URL Any type of attachments can attach with the order. Includes: File type – Doc, JPG, Videos, PDF and more. Each Attachment have its own settings (Name, Description, Uploads file, select Order status, Set expiry Date and more) [New]Enable or disable attachment on email or not Explore our other plugins and theme to supercharge your WordPress website: Advance Flat Rate Shipping Method For WooCommerce Blocker – Prevent Fake Orders And Blacklist Fraud Customers for WooCommerce Enhanced Ecommerce Google Analytics for WooCommerce Category Banner Management for Woocommerce Conditional Product Fees For WooCommerce Checkout Advanced Product Size Charts for WooCommerce Advance Menu Manager for WordPress