|Download This Plugin|
|Download Elegant Themes|
|Name||Get Filesize Shortcode|
|Last updated||2015-01-21 06:47:00|
|Download Plugins Speed Test plugin for Wordpress|
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Get Filesize Shortcode plugin added 5 bytes of resources to the Home page and 16 bytes of resources to the sample Post page.
Get Filesize Shortcode plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.Great! Get Filesize Shortcode plugin ads no tables to your Wordpress blog database.
"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.
[filesize]http:yoursite.com/path/to/file.pdf[/filesize] anywhere in a post.
Also you can place
<?php echo do_shortcode('[filesize]http:yoursite.com/path/to/file.pdf[/filesize]'); ?> in your templates.