This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Document Attachment Widget


Document attachment is a sidebar widget, which will display a filtered, sorted and ordered list of all related items linked to current post or page.
This sidebar widget is not just limited to the sidebar of your site. By using the and added the [document-list-attachments] shortcode to a post or page
the widget will then display the list of linked attachments within the documents content area.

The widget options are:
1) Select attachment file types, which are allowed to be displayed:
– MS Word
– MS Excel
– Adobe PDF
– Images
– Adobe Flash

2) Display the file size:
– Show file size

3) Display the files description text:
– Show description text

After selecting your options and saving the widget settings, the widget will then only display the attachment mime types which have been selected.


  • Shown here are the available options of the Document Attachment Widget.
  • This screen grab displays what the Document Attachment Widget will look like on the front-end of your website, when all widget options have been selected.


  1. Old-school: upload the Document Attachment Widget folder to the /wp-content/plugins/ directory via FTP, or Add the plugin via the WordPress Plugins menu.
  2. Activate the Plugin
  3. Add the Widget to the desired sidebar in the WordPress Widgets menu.
  4. Configure the Document Attachment Widget options.
  5. Add a the shortcode to your post like so: [document-list-attachments]
  6. Test that the this plugin meets your demanding needs.
  7. Rate the plugin and verify that it works at
  8. Leave a comment regarding bugs, feature request at:

Contributors & Developers

“Document Attachment Widget” is open source software. The following people have contributed to this plugin.




  • Fixed the issue with improper html markup.


  • Fixed the issue with the widget showing on pages that have no attachments.


  • Enhanced the document attachment widget and added the functionality to limit the number of items which are returned. Amends have also be made to the CSS to resolve the (Plugin CSS overrides theme styles) issue. Thanks Andy Leppard for the heads up on this 🙂


  • Enhanced the document attachment widget and added the functionality to hide the widget from the sidebar, so you can use the short-code to only display
    the widget within the content area of the page.


  • Enhanced documentation and moved the plugin over to the plugin oven.


  • Optimized code and added short code to plugin.