Post Attachment Size calculates the total size of all attachments attached to a post and provides a sortable column in the wp-admin post list based on …
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Post Attachment Sizes version 1.0.0 as active, updated 9y ago and tested up to WordPress 4.7.
Overview
About this plugin
This plugin provides an additional sortable column in the wp-admin Posts screen that allows you to sort the posts by total size of all attachments. If your post has 10 images attached, the number shown will be the total file size of all 10 images added together. This is useful for WordPress websites with a lot of photo galleries.
Usage
Simply install the plugin and activate using the directions above. The sortable wp-admin column will be added automatically.
You can also use the shortcode provided to return the file sizes. Usage is as follows:
post_id = The post ID (if single = true then use the attachment ID) [OPTIONAL]
single = Set to true if you only want the size of ONE attachment (MUST set the post_id to the attachment ID if this is true)
return = Default both: returns both the raw byte size of the file AND the formatted value.
Use byte to return JUST the byte value.
Use formatted to return JUST the formatted file size
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
file size
post attachments
post images
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 4.7
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.7.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.7
Minimum requirementsWordPress 3.2 · PHP not listed
Update activity10 Apr 20179y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.