WP Attachments
by Marco Milesi 4.5 (42 reviews)

WP Attachments

Attach files to any post or page and let WP Attachments list them for you, with icons, file sizes and a download counter.

WP Attachments ranks #3,939 among WordPress.org plugins with 3,000+ active installations, is #120 of 1,145 in the Editor & Writing category, a 4.5/5 rating from 42 reviews, and was last updated Aug 31, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.2
v6.0.3 Current Version v6.0.3
Updated 2 weeks ago Last Update on 31 Aug, 2026
Refreshed 11 hours ago Last Refreshed on
#120 of 1,145 in Editor & Writing Top 5% by installs Downloads -38.6% this week Actively maintained
View on WordPress.org
Rank
#3,939
+3 this week
Active Installs
3K+
-23%
KW Avg Position
102.5
0.8 better
Downloads
105.1K
+35 today
Support Resolved
0%
No change
Rating
90%
Review 4.5 out of 5
4.5 (42 reviews)

Next Milestone 4K

Total Progress 88.1%
3K+ 4K+
292
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 119 more installs to reach 4K+

Rank Changes

3,742 3,843 3,943 4,043 4,144 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
3,934 3,941 3,949 3,956 3,963 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 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
Current #3,939
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

20 30 40 50 60 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
0 50 100 150 200 250 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 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
Downloads
Growth
Peak

Upgrade to Pro

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

Upgrade Now

Reviews & Ratings

4.5
42 reviews
Overall 90%
5
33 (79%)
4
2 (5%)
3
3 (7%)
2
3 (7%)
1
1 (2%)

Support Threads Overview

Resolved
Unresolved
1
Total Threads
0
Resolved
1
Unresolved
0%
Resolution Rate

Security History

Source: WPVulnerability

5 known vulnerabilities on record · 2 in the last 24 months · checked 3 days ago

  1. WP Attachments [wp-attachments] < 5.2.1

    CVE-2025-62888 · Fixed in v5.2.1

  2. WP Attachments [wp-attachments] < 5.1

    CVE-2025-5082 · Fixed in v5.1

  3. WP Attachments [wp-attachments] < 5.0.12

    CVE-2023-45651 · Fixed in v5.0.12

  4. WP Attachments [wp-attachments] < 5.0.6

    CVE-2022-4330 · Fixed in v5.0.6

  5. WP Attachments [wp-attachments] < 5.0.5

    CVE-2022-3469 · Fixed in v5.0.5

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and administrators who need to manage file attachments on posts and pages. It solves the manual work of adding download links by automatically displaying attachments and providing tools to attach, unattach, and reattach files.

  • Automatically displays attachments after content
  • Backend metabox for managing attachments
  • Quick Attach, Unattach, Reattach actions
  • Download counter with anti-spam filtering
  • Developer hooks and filters
  • WooCommerce compatible
  • Five icon packs
  • Customizable themes

Frequently Asked Questions

Common questions about WP Attachments

Open the Media Attachments metabox while editing and switch off Display attachments in frontend, at the bottom left. The files stay attached, they are simply not listed on the site. You can also set the default for a whole post type under Settings → WP Attachments → Post Type Permissions.
Three ways, all of which save straight away: drag a row by the grip on its left; use the Move up / Move down buttons on each row; focus the grip and press the up or down arrow key.
The Files column in the post and page lists shows how many files each one has. Click the number to open the Media Library filtered to just those files.
Yes, under Settings → WP Attachments → Date Format. It accepts the standard PHP date characters and applies to the %DATE% tag. Leave it empty to follow Settings → General → Date Format.
No. It skips browser prefetch requests and known crawlers, and it ignores repeat hits from the same visitor on the same file for a few minutes. Those requests still receive the file, they just do not move the number.
Images, video, audio, PDF and plain text open in a preview dialog. Any other format shows its icon and a download link. Developer filters wpatt_list_html — the whole list markup ($html) wpatt_before_entry_html — a single entry, before the tags are replaced ($html) wpatt_after_entry_html — a single entry, after the tags are replaced ($html) wpatt_accepted_formats — return a falsy value to hide a file ($mime) wpatt_download_throttle — how long the same visitor is ignored for the same file ($seconds, $attachment_id) wpatt_count_download_request — whether the current request may increment a counter ($countable) Examples function my_custom_function( $html ) { // Alter the final HTML return $new_html; } add_filter( 'wpatt_list_html', 'my_custom_function' ); function my_pdf_only( $mime ) { // Only show PDFs in the list return $mime === 'application/pdf'; } add_filter( 'wpatt_accepted_formats', 'my_pdf_only' ); // Count each visitor at most once per hour add_filter( 'wpatt_download_throttle', function () { return HOUR_IN_SECONDS; } ); There is also wpatt_get_attachments_html( $parent_id ), which returns the list for any parent ID without going through the the_content filter.

Sign In / Register

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