Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

List Related Attachments

Listed Related Attachments will display a filtered list of all related attachments for the current post or page.

List Related Attachments is a sidebar widget and shortcode that will display a filtered, sorted and ordered list of all related attachments linked to current post or page. The widget options are: title, number of attachments to display, type of attachment to display by mime/type, order by value, order direction and what should be displayed (attachment title, caption or description). A complete listing of shortcode options and attribute demos are available that delight and inform. What's more, there is excellent and free community support and a super-duper online language translation tool to roll-your-own language files.

Author twinpictures, baden03
Contributors twinpictures, baden03
Tags attachments, files, list, plugin-oven, related, shortcode, sidebar, twinpictures, uploaded, widget
  1. list-related-attachments-widget screenshot 1

    Shown here are the available options of the List Related Attachments. See any more you like? Let us know!

  2. list-related-attachments-widget screenshot 2

    For your viewing pleasure: The sidebar widget in the midst of some hot-hot sidebar widget action. Calm down now... it's not THAT exciting.

  3. list-related-attachments-widget screenshot 3

    Hide your kids, hide your husband, this is how the shortcode works.

  1. Old-school: upload the List Related Attachments folder to the /wp-content/plugins/ directory via FTP. Hipster: 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 Listed Related Attachments widget options.
  5. Add a the shortcode to your post like so: [list-related-attach type="application/zip" count="3" orderby="title" order="ASC" show="caption"]
  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, cocktail recipes at:


  • supports WordPress language packs, no longer ships with all languages
  • fully tested with WordPress 4.5


  • added new parent_id attribute to override current page


  • adjusted php5 constructor play well with older php versions
  • changed text domain so it works with new WordPress Translation service


  • using new php5 constructor for widget


  • cleaned up the readme file
  • first check to make sure there is a pageID before trying to grab it’s attachments


  • Rebuilt plugin
  • Added options page
  • added link_to option to link to file or attachment page
  • added language translation


  • Only the attachments of the first post will be displayed when the sidebar widget is used on the blog page.


  • Plugin now supports multi-language and multiple instances



  • Vastly enhanced documentation and moved the plugin over to the plugin oven.


  • Optimized code and added mime-type classes to list items.


  • Fixed a bug in the shortcode (Big thanks to motylanogha for reporting this). NOW the plugin works 100% like it should... I think.


  • Options now allow to choose from the attachment title, caption or description as the text that is displayed in the attachment link.


  • Expanded the options to include orderby and order... for Ultimater Flexibility -- yes, Ultimater is not a real word, but just go with it, OK?


  • Added shortcode so that related attachments can be listed withing the page loop. Listing related attachments is not just for sidebar widgets anymore.


  • Changed mime/type to a text input field for Ultimate Flexibility.
  • Pimped this readme.txt file.
  • Added the plugin to


  • The plugin came to be.

What are the default shortcode attributes?

  1. type = "application" (so basically everything)
  2. count = "-1" (so everything)
  3. orderby = "date" (by the date the attachment was added)
  4. order = "DESC" (Descending in the newest to oldest direction)
  5. show = "title" (The title of the attachment)
  6. link_so = “file” (as opposed to the attachment page)

I am going to a respectable cocktail bar, can you recommend a drink?

Gin Basel Smash

I am a Social Netwookiee, do you have a Facebook page?

Yes, yes... Twinpictures is on Facebook.

Does Twinpictures do the Twitter?

Ah yes! @Twinpictures does the twitter tweeting around here.

Where can I go for jokes and fun?

Why not try: Jokes & Fun

What is the meaning of life, the universe and everything?


Who likes to rock the party?

We like to rock the party.

Version 2.1.3

Requires WordPress version: 4.0 or higher

Compatible up to: 4.7.2

Last Updated 07 Dec 2016

Date Added: 09 Jul 2010

Plugin Homepage


5 stars
1 ratings


Not Enough Data

Works: 0
Broken: 0