PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Pdf
  4. Get Filesize Shortcode
Get Filesize Shortcode icon

Get Filesize Shortcode

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

By ikaring·Pdf·Free
5(3 reviews)
·200 active installs·Updated 8 months ago
DownloadVisit HomepageCompare

As of April 2026, Get Filesize Shortcode is a WordPress pdf plugin with 200 active installations and a 5/5 rating from 3 reviews. It has been downloaded 4.6K+ times in total. Requires WordPress 5.8+ and PHP 5.6+. Available on WordPress.org since 2015. Top alternative: PDF Embedder.

5/53 reviews
200active installs
4.6K+total downloads
11 yearssince 2015

Overview

“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

Put [filesize]http://yoursite.com/path/to/file.pdf[/filesize] anywhere in a post.

Or you can use url attr instead. [filesize url='http://yoursite.com/path/to/file.pdf']

Also you can place <?php echo do_shortcode('[filesize]http://yoursite.com/path/to/file.pdf[/filesize]'); ?> 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/E…

Read full description on WordPress.org

Ratings & Reviews

53 reviews
5 ★
3
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress5.8+ requiredTested up to 6.8.5
PHP5.6+ required

Top Alternatives to Get Filesize Shortcode

PDF Embedder icon
PDF Embedder
4.7300K+ installsUpdated 3 months ago
ViewCompare
PDF Invoices &amp; Packing Slips for WooCommerce icon
PDF Invoices & Packing Slips for…
5300K+ installsUpdated 5 days ago
ViewCompare
Print, PDF, Email by PrintFriendly icon
Print, PDF, Email by PrintFriendly
3.820K+ installsUpdated 3 weeks ago
ViewCompare
PDF Poster – Display PDF Files with Custom Viewer icon
PDF Poster – Display PDF Files with…
4.520K+ installsUpdated 1 month ago
ViewCompare
Embed PDF Viewer icon
Embed PDF Viewer
4.720K+ installsUpdated 1 month ago
ViewCompare
View all pdf plugins →

Frequently Asked Questions

Changelog

1.3.0

  • 2025-7-15
  • Refactor code and add japanese translation
View full changelog on WordPress.org

Contributors

ikaringikaring
Plugin Info
Version
1.3.0
Last Updated
Jul 15, 2025
WP Requires
5.8+
Tested Up To
6.8.5
PHP Requires
5.6+
Active Installs
200
Downloads
4.6K+
Added
Jan 21, 2015
Business
Free

Tags

pdffilesizeshortcode

Developer

I
ikaring
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Get Filesize Shortcode vs PDF Embedder→Get Filesize Shortcode vs PDF Invoices & Packing Slips for…→Get Filesize Shortcode vs Print, PDF, Email by PrintFriendly→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.