WP Attachments icon
Media, Galleries & Sliders

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.

Developer Marco Milesi
83 Excellentmaintenance
  • 14 yearson WordPress.org
  • 17plugins
  • 11,420+installs in total
  • 4.7★avg. rating (133)
  • 82%of plugins updated this year
8/14 badges Profile →

Is WP Attachments safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 2 months ago (version 6.1).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.2; the current release is 7.1. Needs PHP 7.4+.
  • Pass: Well rated Rated 4.5/5 by 43 users on WordPress.org.
  • Pass: Widely used Active on 3,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.

Overview

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

It is active on 3,000+ WordPress sites and rated 4.5 out of 5 by 43 users on WordPress.org. Developers can extend it through 0 actions and 8 filters, listed below.

We haven't published a hands-on review of WP Attachments yet. Want one, or need help with it? Send us a request.

How to install WP Attachments

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “WP Attachments” and pick the one by Marco Milesi.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install wp-attachments --activate

Requirements: WordPress 5.0+ · PHP 7.4+ · tested up to WordPress 7.2

Hooks & customisation

WP Attachments 6.1 fires 0 actions and 8 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

wp-attachments — top hooks
// Filter whether the current visitor may download an attachment through the coun…
apply_filters( 'wpatt_can_download', $allowed, $attachment_id );

// Filter whether the current request may increment a download counter.
apply_filters( 'wpatt_count_download_request', $countable );

// Filter how long the same visitor is ignored for the same file.
apply_filters( 'wpatt_download_throttle', 5 * MINUTE_IN_SECONDS, $ID );

// Filter whether the attachments list is appended to this content.
apply_filters( 'wpatt_should_render', $render, $post );

// Filter in wp-attachments.php
apply_filters( 'wpatt_accepted_formats', sanitize_title($attachment->post_mime_type) );

// Filter in wp-attachments.php
apply_filters( 'wpatt_after_entry_html', $html );

Browse all 8 hooks with examples →

WP Attachments: frequently asked questions

Is WP Attachments free?

Yes. WP Attachments is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is WP Attachments safe to use?

WP Attachments is actively maintained: the latest version was released 2 months ago. Users rate it 4.5 out of 5 from 43 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does WP Attachments work with WordPress 7.1?

Yes. WP Attachments is tested up to WordPress 7.2, the current release. It requires WordPress 5.0 or later and PHP 7.4 or later.

How many websites use WP Attachments?

WP Attachments is active on 3,000+ WordPress sites, according to WordPress.org. It is currently at version 6.1, last updated on October 5, 2026.

What are the best alternatives to WP Attachments?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Media, Galleries & Sliders plugins for related options.

Can I customise WP Attachments without editing its code?

Yes. WP Attachments 6.1 fires 0 actions and 8 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 8 hooks with examples.

Done for you

Need WP Attachments to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need WP Attachments customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Marco Milesi. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Marco Milesi

All 17 →

Easily redirect your WordPress posts to any external URL with a simple metabox. Lightweight, efficient, and perfect for SEO!

3,000+ installs Updated 2 months ago 1 hooks

Color the mobile browser address bar with your brand color, with a separate color for dark mode.

2,000+ installs Updated 2 months ago 2 hooks

Plugin completo per la gestione documentale di Amministrazione Trasparente nelle Pubbliche Amministrazioni (D.lgs. 33/2013)

1,000+ installs Updated 2 months ago 1 hooks

Software per la visualizzazione di dataset XML su tracciato ANAC (ex AVCP -Legge 190/2012 Art 1.32).

1,000+ installs Updated 2 months ago

Alternatives in Media, Galleries & Sliders

See all →
Reviewed

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

1+ million installs Updated 4 weeks ago 17 hooks
Reviewed

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.

1+ million installs Updated 1 week ago 4 hooks
Reviewed

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider, video slider, post slider,…

800,000+ installs Updated 3 weeks ago 12 hooks
Reviewed

Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real…

600,000+ installs Updated 4 weeks ago 46 hooks