Get Filesize Shortcode
"Get Filesize Shortcode" is a simple shortcode to get filesize of a file( eg. PDF, JPG, PNG ... ).
Utiliser avec prudence
Get Filesize Shortcode works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 5/5 and was last updated 1 year ago, and scores 42/100 on our health check.
- Petite base d'utilisateurs (plus de 200 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour depuis plus d'un an
- Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Get Filesize Shortcode stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| filesize | #2 |
| >100 | |
| shortcode | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 3 avis
About Get Filesize Shortcode
From the official readme · v1.3.0Description
“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/Edit by clicking Preview/Edit button in toolbar of the block.
Remarque:
- 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.
Installation
- Télécharger le dossier
get-filesize-shortcodedans le répertoire/wp-content/plugins/ - Activez le plugin via le menu « Plugins » dans WordPress
Journal de modifications
None.
1.3.0
- 2025-7-15
- Refactor code and add japanese translation
1.2.0
- 2023-12-21
- Add support for Get filesize block
1.0.10
- 2019-08-07
- Update readme.txt
1.0.8
- 2018-08-16
- Update readme.txt, remove ‘Donate link’
1.0.4
- 2018-08-08
- Update readme.txt
1.0.3
- minor bug fix
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Get Filesize Shortcode alternatives
All filesize plugins →FAQ
Get Filesize Shortcode: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Get Filesize Shortcode free?
Yes. Get Filesize Shortcode is free to download and use from the official WordPress.org plugin directory.
Is Get Filesize Shortcode safe to use in 2026?
Get Filesize Shortcode works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 5/5 and was last updated 1 year ago, and scores 42/100 on our health check.
How many websites use Get Filesize Shortcode?
Get Filesize Shortcode is active on 200+ WordPress websites and has been downloaded 5,403 times since it launched in January 2015. It was downloaded 216 times in the last 30 days.
Does Get Filesize Shortcode work with WordPress 7.1?
Get Filesize Shortcode is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Get Filesize Shortcode need?
Get Filesize Shortcode requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Get Filesize Shortcode last updated?
The latest version, 1.3.0, was released on July 15, 2025 (1 year ago).
Who makes Get Filesize Shortcode?
Get Filesize Shortcode is developed and maintained by ikaring.
What are the best alternatives to Get Filesize Shortcode?
The most popular alternatives to Get Filesize Shortcode are Max upload filesize (8K+ installs), WP Media Size (20+ installs) and OctoSize Media Scanner (10+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
