This plugin add a shortcode to display the list of attachments of a post, with icon and details. EG-Attachments is "TinyMCE integrated".
1.Log into your WordPress admin 2.Click Plugins 3.Click Add New 4.Search for EG-Attachments 5.Click Install Now under "EG-Attachments" 6.Activate the plugin
1.Download the plugin 2.Extract the contents of the zip file 3.Upload the contents of the zip file to the wp-content/plugins/ folder of your WordPress installation 4.Then activate the Plugin from Plugins page
The plugin is now ready to be used. You can also install the plugin directly from the WordPress interface.
Then you can go to menu Settings / EG-Attachments to set plugin parameters
Four ways to include the list of attachments into a post:
* With the paper clip button in TinyMCE bar. Click on this button, choose the options, and click insert,
* With the shortcode [attachments options ]
* With the automatic shortcode: go to the Settings / EG-Attachments, and choose to activate the auto-shortcode. The list of attachments will be added to your post automatically.
* In a template file, add the following code:
<?php do_shortcode('[attachments *options*]'); ?>
The shortcode options are:
ASCis the default sort order. Default:
In the old posts, shortcodes using size and docid are still working, these two parameters are emulated using the new parameters template and include. In future posts, please use template and include parameters.
These parameters don't work even in existing posts. But you can easily get the results you want, by modifying templates.
** Examples :**
[attachments template=medium doctype=document title="Attachments" titletag=h2 orderby="title"]
[attachments template=large title="Documents" titletag=h3 orderby="mime DESC"]
[attachments title="Books and DVD Reviews" orderby="date DESC" tags="books,dvd" id=-1]
In the menu Settings / EG-Attachments, you will find a section named General behavior of shortcodes. The options in the section are
Example: if you check the option Force "Save As" when users click on the attachments, you force download for all attachments displayed by auto-shortcodes, and manual shortcode, except if you specify
force_saveas in a shortcode option.
Just activate the clicks counter in the menu Settings / EG-Attachments, and then go to the menu Tools / EGA statistics to see how many clicks you have, for each document.
The graphs are using Google chart tools, and then, require an intenet connection. If you are using internet through a proxy or a firewall, you may encountered some issues to display graphes properly.
Requires: 3.5.0 or higher
Compatible up to: 3.9.0
Last Updated: 2014-4-15
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?