Plugin Directory

EG-Attachments

This plugin add a shortcode to display the list of attachments of a post, with icon and details. EG-Attachments is "TinyMCE integrated".

How to display documents that are not related to the current post?

You have two ways:

  • Specify, with parameter id, the post to which documents are attached,
  • With the parameter docid, give the list of documents you want to display.

During post edition, how can I see the list of attachments that will be displayed?

In the menu Settings / EG-Attachments, in the chapter Administration interface, you can choose to show or hide, a metabox that displays attachments of the post being edited.

Could I have some examples of the usage of `orderby` shortcode option?

  • orderby="mime DESC" to sort by mime type descending,
  • orderby=date or orderby="date ASC" to sort by date ascending,

How can I display attachments by modifying my templates?

In your single.php file, add the following code: <?php echo do_shortcode('[attachments *shortcode options*]'); ?>

How can I change the styles?

The stylesheet is named eg-attachments.css, and can be stored in two places:

  • In the plugin directory,
  • In the directory of your current theme

I would like to change the icons

Just copy/upload your own icons in the images subdirectory of the plugin. Size of icons must be 52x52 or 48x48. Name of icons must be the mimetype or file extension.

I click on a document to test statistics, but counters stay flat

EG-Attachments uses a cache system to build statistics, avoiding to launch heavy queries, each time you want to see statistics. The cache duration is 15 minutes. If you want to test statistics, click on several attached files, and then wait 15 minutes, your clicks will appear.

Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-10
Downloads: 24,956

Average Rating

4 stars
(26 ratings)

Support

0 of 1 support threads in the last three weeks have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
0,1,0 100,2,2 100,1,1 100,1,1
50,2,1 100,1,1
100,4,4 100,1,1 100,1,1 100,1,1
100,1,1 67,3,2 100,1,1 100,1,1
100,1,1 100,4,4
0,1,0
100,2,2 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 50,2,1 100,1,1
100,2,2 50,2,1 100,2,2 100,1,1 100,1,1 100,3,3 100,1,1 50,2,1 75,4,3
100,3,3 100,1,1 100,1,1 100,1,1
50,2,1 100,2,2 100,3,3 75,4,3 67,3,2 100,2,2