Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Simple News

by ecurtain

Version: 1.1

Download
Description

Display a list of the attachments that were added to a post or page by the Attachments plugin.

The Attachments plugin allows you to easily append items from the media library to posts, pages, etc, but does not directly interact with the theme.

This plugin will display an list of those items, each as a link to the file.

Compatibility with the Attachments plugin

This plugin was developed and tested with version 1.5.2 of the Attachments plugin. Feedback on success/failure with other versions of the plugin welcome.

Kudos to Jonathan Christopher for the Attachments plugin.

  1. Upload the plugin to your blog.
  2. Activate it.
  3. Use the “Attachments” plugin to add media files to posts and pages.
  4. Show the attachments for a post or page using one of the following methods:

    • Add the “Attachments List” widget to the sidebar,
    • Add the shortcode [attachments-list] to a post or page, or
    • Place <?php show_attachments_list(); ?> in your templates
  5. You’re done!

  1. List of attachments

    List of attachments

  2. List of attachments with medium icons

    List of attachments with medium icons

  3. List of attachments with small icons

    List of attachments with small icons

  4. List of attachments with casual icons

    List of attachments with casual icons

  5. Adding a widget

    Adding a widget

  6. The list of attachments as they were added with the Attachments plugin

    The list of attachments as they were added with the Attachments plugin

How do I attach media files to my posts?

You’ll need to install the Attachments plugin. It’s awesome.

This plugin is just to display the attachments.

How do I show a different icon size using the shortcode?

Use the “size” parameter. For example, [attachment-list size=”medium”]

Sizes available:
* default: 46 x 60
* medium: 34 x 45
* small: 23 x 30
* casual: 50 x 55
* none: text only

How about specifying a size using the function?

Here’s an example:

    <?php show_attachments_list('small'); ?>

Where did the “casual” icons come from ?

It’s a set of images I found at MimeTypes_DroplineEtiquette_mimetypes. They’re cute, right?

1.1

  • Added “casual” icon set
  • Added Widget support
  • Converted images to sprites
  • Version:Version: 1.1
  • Last updated:Last updated: 18-03-2011
  • Requires:Requires: 3.0
  • Tested:Tested: 3.1.4
Average rating:0 out of 5 stars.
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
Back to top