WordPress plugin intelligence profile

Get Filesize Shortcode

"Get Filesize Shortcode" is a simple shortcode to get filesize of a file( eg. PDF, JPG, PNG ... ).

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version1.3.0
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 5.8 · PHP 5.6
Directory statusactive
Last directory update15 Jul 20251y ago
Active installations200Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 3 ratings
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 Get Filesize Shortcode version 1.3.0 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

“Get Filesize Shortcode” is a simple shortcode to get filesize of a file( eg. PDF, JPG, PNG … ) with a human readable format, using the largest unit the bytes will fit into.

Now added Get filesize block to display file link with file size.

Usage

pdf[/filesize] anywhere in a post.

Or you can use url attr instead. pdf']

> in your templates.

As to “Get filesize” block, search ‘get filesize’ in Text block category and insert it.

Set file title and file url, and it generates a text link to the file with file size afterwards.

You can toggle Preview/Edit by clicking Preview/Edit button in toolbar of the block.

Note

  • File must be in your server
  • With files larger than 2MB, it might return different number due to the spec of filesize function of PHP.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • filesize
  • pdf
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 5.8 · PHP 5.6
Update activity15 Jul 20251y 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.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.