{"id":26444,"date":"2013-11-29T11:43:40","date_gmt":"2013-11-29T11:43:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/download-attachments\/"},"modified":"2026-03-24T23:08:12","modified_gmt":"2026-03-24T23:08:12","slug":"download-attachments","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/download-attachments\/","author":9077322,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.0","stable_tag":"1.4.0","tested":"6.9.4","requires":"6.0","requires_php":"7.0.0","requires_plugins":null,"header_name":"Download Attachments","header_author":"dFactory","header_description":"","assets_banners_color":"3b506f","last_updated":"2026-03-24 23:08:12","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.dfactory.co\/","header_plugin_uri":"http:\/\/www.dfactory.co\/products\/download-attachments\/","header_author_uri":"http:\/\/www.dfactory.co\/","rating":4.5,"author_block_rating":0,"active_installs":9000,"downloads":219069,"num_ratings":46,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dfactory","date":"2013-11-29 11:45:38"},"1.0.0.1":{"tag":"1.0.0.1","author":"dfactory","date":"2013-11-29 13:05:40"},"1.0.1":{"tag":"1.0.1","author":"dfactory","date":"2013-12-19 14:21:21"},"1.0.10":{"tag":"1.0.10","author":"dfactory","date":"2014-07-15 11:52:33"},"1.0.2.1":{"tag":"1.0.2.1","author":"dfactory","date":"2013-12-19 14:26:04"},"1.0.3":{"tag":"1.0.3","author":"dfactory","date":"2013-12-20 09:34:40"},"1.0.4":{"tag":"1.0.4","author":"dfactory","date":"2013-12-30 09:29:14"},"1.0.5":{"tag":"1.0.5","author":"dfactory","date":"2014-01-06 15:05:45"},"1.0.6":{"tag":"1.0.6","author":"dfactory","date":"2014-02-04 10:56:27"},"1.0.7":{"tag":"1.0.7","author":"dfactory","date":"2014-02-21 10:11:29"},"1.0.8":{"tag":"1.0.8","author":"dfactory","date":"2014-03-13 11:58:00"},"1.0.9":{"tag":"1.0.9","author":"dfactory","date":"2014-05-07 09:30:25"},"1.1.0":{"tag":"1.1.0","author":"dfactory","date":"2014-07-31 13:58:22"},"1.1.1":{"tag":"1.1.1","author":"dfactory","date":"2014-08-25 09:07:20"},"1.2.0":{"tag":"1.2.0","author":"dfactory","date":"2014-11-28 12:56:31"},"1.2.1":{"tag":"1.2.1","author":"dfactory","date":"2014-12-19 10:14:30"},"1.2.10":{"tag":"1.2.10","author":"dfactory","date":"2015-06-02 07:40:50"},"1.2.11":{"tag":"1.2.11","author":"dfactory","date":"2015-11-05 11:37:47"},"1.2.12":{"tag":"1.2.12","author":"dfactory","date":"2015-12-02 22:18:55"},"1.2.13":{"tag":"1.2.13","author":"dfactory","date":"2016-03-12 15:38:57"},"1.2.14":{"tag":"1.2.14","author":"dfactory","date":"2016-04-13 09:59:58"},"1.2.15":{"tag":"1.2.15","author":"dfactory","date":"2016-06-09 11:54:22"},"1.2.16":{"tag":"1.2.16","author":"dfactory","date":"2016-08-25 15:20:30"},"1.2.17":{"tag":"1.2.17","author":"dfactory","date":"2016-12-06 22:05:47"},"1.2.18":{"tag":"1.2.18","author":"dfactory","date":"2017-01-30 22:51:00"},"1.2.19":{"tag":"1.2.19","author":"dfactory","date":"2017-05-05 07:46:14"},"1.2.2":{"tag":"1.2.2","author":"dfactory","date":"2015-02-20 21:49:31"},"1.2.20":{"tag":"1.2.20","author":"dfactory","date":"2017-05-10 10:17:26"},"1.2.21":{"tag":"1.2.21","author":"dfactory","date":"2017-09-05 12:54:18"},"1.2.22":{"tag":"1.2.22","author":"dfactory","date":"2017-10-24 13:51:02"},"1.2.23":{"tag":"1.2.23","author":"dfactory","date":"2018-12-11 13:46:16"},"1.2.24":{"tag":"1.2.24","author":"dfactory","date":"2020-05-08 10:44:58"},"1.2.3":{"tag":"1.2.3","author":"dfactory","date":"2015-03-21 12:31:56"},"1.2.4":{"tag":"1.2.4","author":"dfactory","date":"2015-04-23 12:07:24"},"1.2.5":{"tag":"1.2.5","author":"dfactory","date":"2015-04-27 08:34:39"},"1.2.6":{"tag":"1.2.6","author":"dfactory","date":"2015-04-29 10:50:11"},"1.2.7":{"tag":"1.2.7","author":"dfactory","date":"2015-05-04 08:03:12"},"1.2.8":{"tag":"1.2.8","author":"dfactory","date":"2015-05-05 08:29:17"},"1.2.9":{"tag":"1.2.9","author":"dfactory","date":"2015-05-08 07:26:17"},"1.3":{"tag":"1.3","author":"dfactory","date":"2024-02-06 10:25:46"},"1.3.1":{"tag":"1.3.1","author":"dfactory","date":"2024-06-07 15:25:17"},"1.3.2":{"tag":"1.3.2","author":"dfactory","date":"2025-11-15 13:33:53"},"1.4.0":{"tag":"1.4.0","author":"dfactory","date":"2026-03-24 23:08:12"}},"upgrade_notice":{"1.4.0":"<ul>\n<li>Includes the refreshed admin settings experience, updated build tooling, and the bundled DataTables 2.3.7 upgrade.<\/li>\n<\/ul>"},"ratings":{"1":2,"2":3,"3":1,"4":5,"5":35},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1018456,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1018456,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1018456,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.0.1","1.0.1","1.0.10","1.0.2.1","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.2.0","1.2.1","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.16","1.2.17","1.2.18","1.2.19","1.2.2","1.2.20","1.2.21","1.2.22","1.2.23","1.2.24","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3","1.3.1","1.3.2","1.4.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":812373,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":812373,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":812373,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png","3":"screenshot-3.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2264,1346,568,260,88],"plugin_category":[36,50],"plugin_contributors":[77799],"plugin_business_model":[],"class_list":["post-26444","plugin","type-plugin","status-publish","hentry","plugin_tags-attachment","plugin_tags-attachments","plugin_tags-download","plugin_tags-file","plugin_tags-files","plugin_category-analytics","plugin_category-media","plugin_contributors-dfactory","plugin_committers-dfactory","plugin_support_reps-weiser"],"banners":{"banner":"https:\/\/ps.w.org\/download-attachments\/assets\/banner-772x250.png?rev=1018456","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/download-attachments\/assets\/icon-128x128.png?rev=1018456","icon_2x":"https:\/\/ps.w.org\/download-attachments\/assets\/icon-256x256.png?rev=1018456","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/download-attachments\/assets\/screenshot-1.png?rev=812373","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/download-attachments\/assets\/screenshot-2.png?rev=812373","caption":"screenshot-2.png"},{"src":"https:\/\/ps.w.org\/download-attachments\/assets\/screenshot-3.png?rev=812373","caption":"screenshot-3.png"}],"raw_content":"<!--section=description-->\n<p><a href=\"http:\/\/www.dfactory.co\/products\/download-attachments\/\">Download Attachments<\/a> is a new approach to managing downloads in WordPress. Instead of bloated interface it enables simple, drag &amp; drop and AJAX driven metabox where you can insert and manage your Media Library files and automatically or manually display them after, before or inside posts content.<\/p>\n\n<p>For more information, check out plugin page at <a href=\"http:\/\/www.dfactory.co\/\">dFactory<\/a> site.<\/p>\n\n<h4>Features include:<\/h4>\n\n<ul>\n<li>Automatic or manual download links display<\/li>\n<li>Select post types where Download Attachments should be used<\/li>\n<li>Select list, table or sortable, dynamic table display style<\/li>\n<li>Downloads count<\/li>\n<li>Advanced attachments sorting<\/li>\n<li>Most Downloaded Attachments widget<\/li>\n<li>Drag &amp; drop files ordering<\/li>\n<li>Based on Media Library attachments<\/li>\n<li>Easy customisation of Frontend &amp; Backend display<\/li>\n<li>Pretty URLs for download links<\/li>\n<li>Encrypt URLs by default<\/li>\n<li>Customizable tamplates engine<\/li>\n<li>Custom download slug<\/li>\n<li>Custom permission for metabox display<\/li>\n<li>Option to exclude selected attachments from display<\/li>\n<li>Option to select from all Media Library files or only those attached to a post<\/li>\n<li>2 shortcodes<\/li>\n<li>5 functions and multiple filter hooks for developers<\/li>\n<li>Option to use attachment caption and\/or description for download links description<\/li>\n<li>Compatible with WPML &amp; Polylang<\/li>\n<li>.pot file for translations included<\/li>\n<\/ul>\n\n<h4>Get involved<\/h4>\n\n<p>Feel free to contribute to the source code on the <a href=\"https:\/\/github.com\/dfactoryplugins\">dFactory GitHub Repository<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install Download Attachments either via the WordPress.org plugin directory, or by uploading the files to your server<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to the Download Attachments settings under News menu and set your desired options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"q.%20i%20have%20a%20question\"><h3>Q. I have a question<\/h3><\/dt>\n<dd><p>A. Chances are, someone else has asked it. Check out the support forum at: http:\/\/www.dfactory.co\/support\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>New: Modernize the admin settings UI and refined settings screen structure.<\/li>\n<li>Tweak: Upgrade bundled DataTables assets to 2.3.7 with compatibility fixes.<\/li>\n<li>Tweak: Improve inline documentation in JavaScript source files.<\/li>\n<li>Tweak: Improved internal build workflow.<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Security: Serve downloads only for files attached and not marked as excluded.<\/li>\n<li>Security: Encrypted download URLs are enabled by default to reduce enumeration risks.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fix: Potential security issue<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>New: DataTables implementation<\/li>\n<li>New: PHP 7.x and 8.x compatibility<\/li>\n<li>New: Wordpress 6.x compatibility<\/li>\n<li>Fix: Improved data sanitization and validation<\/li>\n<li>Fix: Downloading files with pretty urls<\/li>\n<\/ul>\n\n<h4>1.2.24<\/h4>\n\n<ul>\n<li>New: Link target option for \"Redirect to file\" method<\/li>\n<li>Fix: Invalid attachments link attributes<\/li>\n<li>Fix: Shortcode positioning broken<\/li>\n<li>Tweak: Improved protected posts support<\/li>\n<li>Tweak: Elementor compatibility improvement<\/li>\n<\/ul>\n\n<h4>1.2.23<\/h4>\n\n<ul>\n<li>Fix: Hide widget if no attachments found<\/li>\n<\/ul>\n\n<h4>1.2.22<\/h4>\n\n<ul>\n<li>Fix: Attachment disappearing on autosave<\/li>\n<\/ul>\n\n<h4>1.2.21<\/h4>\n\n<ul>\n<li>Fix: Attachment disappearing form the backend and frontend<\/li>\n<li>Fix: Attachment title not visible in admin interface<\/li>\n<li>Fix: Exclude \/ include shortcode paramaters not working<\/li>\n<\/ul>\n\n<h4>1.2.20<\/h4>\n\n<ul>\n<li>Fix: Fatal error on da_get_download_attachment function call<\/li>\n<li>Tweak: Style none for attachments list display<\/li>\n<\/ul>\n\n<h4>1.2.19<\/h4>\n\n<ul>\n<li>New: Dynamic, sortable table display mode<\/li>\n<li>New: Templates engine for the attachment display<\/li>\n<li>New: Option to edit attachment downloads count<\/li>\n<li>New: Attachments widget redesign<\/li>\n<li>Fix: 404 error with pretty urls enabled<\/li>\n<li>Tweak: Stronger openssl url encryption method<\/li>\n<\/ul>\n\n<h4>1.2.18<\/h4>\n\n<ul>\n<li>Fix: Undefined encrypt_urls variable notice<\/li>\n<li>Tweak: Added plugin documentation link<\/li>\n<\/ul>\n\n<h4>1.2.17<\/h4>\n\n<ul>\n<li>New: Encrypt URL's option<\/li>\n<li>Fix: Missing docx and xlsx file icons<\/li>\n<li>Tweak: Revamped admin inteface<\/li>\n<\/ul>\n\n<h4>1.2.16<\/h4>\n\n<ul>\n<li>New: Most Downloaded Attachments widget<\/li>\n<\/ul>\n\n<h4>1.2.15<\/h4>\n\n<ul>\n<li>Tweak: Removed local translation files in favor of WP repository translations.<\/li>\n<\/ul>\n\n<h4>1.2.14<\/h4>\n\n<ul>\n<li>Fix: TinyMCE editor broken on post types<\/li>\n<li>Fix: Attachments not displayed outside of the loop<\/li>\n<\/ul>\n\n<h4>1.2.13<\/h4>\n\n<ul>\n<li>New: Insert download attachment link TinyMCE editor button<\/li>\n<li>Fix: Attached to a post option not working properly<\/li>\n<li>Fix: Switched from wp_upload_dir() url to baseurl for redirect method<\/li>\n<\/ul>\n\n<h4>1.2.12<\/h4>\n\n<ul>\n<li>New: Option to select download method - force download or redirect to file<\/li>\n<\/ul>\n\n<h4>1.2.11<\/h4>\n\n<ul>\n<li>Tweak: More flexible way of including wp-load.php<\/li>\n<\/ul>\n\n<h4>1.2.10<\/h4>\n\n<ul>\n<li>New: Czech translation, thanks to Martin Kokes<\/li>\n<\/ul>\n\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>New: Romanian translation, thanks to Andrei Gabriel Grimpels<\/li>\n<li>Fix: Pretty URL 404 issue for wp installed in a separate folder - switched from site_url() to home_url()<\/li>\n<\/ul>\n\n<h4>1.2.8<\/h4>\n\n<ul>\n<li>New: Swedish translation, thanks to <a href=\"www.danielstorgards.com\">Daniel Storgards<\/a><\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>New: Finnish translation, thanks to <a href=\"www.danielstorgards.com\">Daniel Storgards<\/a><\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Fix: Download issues with pretty urls disabled<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>New: Italian translation, thanks to Enzo Costantini<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>New: da_get_download_attachment() function, to get complete single attachment data<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Tweak: Option to pass post_id parameter to [download-attachments] shortcode<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>New: Hungarian translation, thanks to Meszaros Tamas<\/li>\n<li>Tweak: Uploaded files are now attached to a post<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>New: French translation, thanks to Jean-Philippe Gurecki<\/li>\n<li>Fix: Attachment title display html fix<\/li>\n<li>Fix: Undefined notice index in admin and frontend<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>New: Select list or table display style<\/li>\n<li>New: Option to display attached file index<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>New: Option to donate this plugin :)<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>New: German translation, thanks to <a href=\"http:\/\/sascha-brendel.de\/blog\/\">Sascha Brendel<\/a><\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New: Advanced attachments sorting - sponsored by <a href=\"http:\/\/www.ccjanitorial.com\/\">Capitol City Janitorial<\/a><\/li>\n<li>New: Option to exclude selected attachments from display - sponsored by <a href=\"http:\/\/www.ccjanitorial.com\/\">Capitol City Janitorial<\/a><\/li>\n<li>Tweak: UI adjusted to native WP interface<\/li>\n<\/ul>\n\n<h4>1.0.10<\/h4>\n\n<ul>\n<li>Fix: Important attachments query optimization and general plugin performance, especially on sites with large number of attachments<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Tweak: Removed shop_order from default post types support<\/li>\n<li>Tweak: Confirmed WordPress 3.9 compatibility<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>New: Dutch translation, thanks to <a href=\"http:\/\/www.basbva.nl\/\">Sebas Blom<\/a><\/li>\n<li>Tweak: Changed default attachment editing option to modal<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Tweak: UI improvements for WordPress 3.8<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>New: Spanish translation, thanks to Cristian Sierra<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>New: Danish translation, thanks to Martin Schulze<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>New: Russian translation, thanks to Semion Zuev<\/li>\n<li>Tweak: Greek translation updated<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fix: Include &amp; exclude attributes not working for download-attachments shortcode<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>New: Greek translation, thanks to vas gargan<\/li>\n<li>Fix: Attachments box cutsom title not working<\/li>\n<li>Tweak: Added file type classes for attachments list<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>Initial release<\/p>","raw_excerpt":"Download Attachments is a new approach to managing downloads in WordPress. It allows you to easily add and display download links in any post or page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26444"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dfactory"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26444"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26444"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26444"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26444"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26444"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}