D
by Dougal Campbell 5 (1 reviews)

Documents Shortcode

A [documents] shortcode which will display a list of attached files, with file type icons, and linked to the files for easy downloading.

Documents Shortcode ranks #17,765 among WordPress.org plugins with 80+ active installations, is #2,344 of 8,590 in the Customization category, a 5/5 rating from 1 reviews, and was last updated Aug 27, 2015. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 4.3.34 (Current: 7.1.2)
v1.0.1 Current Version v1.0.1
Updated 11 years ago Last Update on 27 Aug, 2015
Refreshed 7 hours ago Last Refreshed on
#2,344 of 8,590 in Customization Top 25% by installs No update in over a year
View on WordPress.org
Rank
#17,765
-36 this week
Active Installs
80+
-8%
KW Avg Position
N/A
No change
Downloads
6.7K
+5 today
Support Resolved
0%
No change
Rating
100%
Review 5 out of 5
5 (1 reviews)

Next Milestone 90

Total Progress 40%
80+ 90+
1,746
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 6 more installs to reach 90+

Rank Changes

17,712 17,740 17,768 17,796 17,824 16-09-2026 17-09-2026 18-09-2026 19-09-2026 20-09-2026 21-09-2026 22-09-2026 23-09-2026
17,707 17,746 17,786 17,825 17,864 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026 19-09-2026 20-09-2026 21-09-2026 22-09-2026 23-09-2026
Current #17,765
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 16-09-2026 17-09-2026 18-09-2026 19-09-2026 20-09-2026 21-09-2026 22-09-2026 23-09-2026
0 10 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026 19-09-2026 20-09-2026 21-09-2026 22-09-2026 23-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
1 reviews
Overall 100%
5
1 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Frequently Asked Questions

Common questions about Documents Shortcode

There is no settings page. Just upload attachments to a post or page, and put the [documents] shortcode where you wish the list of attachments to appear.
There are two attributes you can use with the shortcode to control which attached documents are listed: mimetype and ext. The default match is for mimetype application/*. For other types, you will need to specifically override that attribute. Examples: Just .XLS files: [documents ext="xls"] All .DOC, .DOCX, or .PDF files: [documents ext="doc,docx,pdf"] Only 'video' types with a .MOV extension: [documents mimetype="video" ext="mov"] Just application/pdf mimetypes: [documents mimetype="application/pdf"] All attached documents, regardless of type: [documents mimetype="*"] I got an error trying to upload a file! If WordPress tells you that a file failed to upload due to an error ("Sorry, this file type is not permitted for security reasons."), you may need to adjust the list of allowed file extensions. For more information on how to do this, see: http://wordpress.org/extend/plugins/ap-extended-mime-types/ http://wordpress.org/extend/plugins/manage-upload-types/ http://www.wprecipes.com/wordpress-tip-allow-upload-of-more-file-types
See the dc_documents.css file for the default styles. Document icons are in the images sub-folder of the plugin. You can override these styles in your theme's CSS by adding more specific selectors. For example, you could change the font used for the file titles in posts with a rule similar to this: .post ul.dc_documents li a { font-family: Courier,monospace; }
By default, images are filtered out of the list (because, that's what galleries are for, right?). If you want to list all attached documents, with no filtering, just say so: [documents mimetype="*"]
Technically, any file type that WordPress will allow you to upload as an attachment (see above). More specifically, there are icons included for the following types of files: PDF: `.pdf` MS Word: `.doc`, `.docx` MS Excel: `.xls`, `.xlsx` MS PowerPoint: `.ppt`, `.pptx` MS Visio Diagrams: `.vsd`, `.vsdx` MS Access Database: `.mdb`, `.mdbx` ZIP: `.zip` Any other extension will display a generic text document icon. I realize this list is slanted towards Microsoft applications, but that's just due to the original plugin usage. Other extension => icon mappings will be added in the future, and I am open to suggestions.
At this time, the only supported icon size is 32 x 32 pixels.

Sign In / Register

You need to sign in or register to use this feature.