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.

Simple News

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.

Screenshots

  • List of attachments
  • List of attachments with medium icons
  • List of attachments with small icons
  • List of attachments with casual icons
  • Adding a widget
  • The list of attachments as they were added with the Attachments plugin

Installation

  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!

FAQ

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?

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Simple News” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Simple News” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1

  • Added “casual” icon set
  • Added Widget support
  • Converted images to sprites