Body Class By URL Parameter
It adds a CSS class to the body depending on the parameters included in the URL
Choix solide
Body Class By URL Parameter is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites, is rated 5/5 and was last updated 2 months ago, and scores 71/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (plus de 50 installations actives)
- Très peu de critiques jusqu'à présent
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 Body Class By URL Parameter stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| body class | #2 |
| custom CSS by URL | #27 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 1 avis
About Body Class By URL Parameter
From the official readme · v0.0.2Description
It adds CSS classes to the body depending on the parameters included in the URL.
For each URL query argument, the plugin adds a CSS class to the body that is composed by [bc]-[paramenter name]-[parameter value].
Where [bc] is the a prefix that is always the same.
If for example you share your page https://your-domain.com/sample-page on Facebook, the user after clicking on the link will land on a page having an URL that looks like https://your-domain.com/sample-page/?fbclid=IwAR0o12nq9Em-x1n
In this case the plugin would add the class bc-fbclid-IwAR0o12nq9Em-x1n to the body.
Then you can use that class for your custom CSS.
.bc-fbclid-IwAR0o12nq9Em-x1n .disable-for-facebook{
display:none !important
}
In the example above you hide all the elements that have the class .disable-for-facebook if the users come from the link shared on Facebook.
This is just an example. You can use it to create different styles depending on whatever query arguments are included in the URL.
The use of this plugin requires that you have at least basic CSS skills and you know where to put your custom CSS. All other users will not be able to take advantage of this plugin.
0.0.2
- Vérifié WordPress 6.4
0.0.1
*Sortie initiale
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 Body Class By URL Parameter alternatives
All body class plugins →FAQ
Body Class By URL Parameter: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Body Class By URL Parameter free?
Yes. Body Class By URL Parameter is free to download and use from the official WordPress.org plugin directory.
Is Body Class By URL Parameter safe to use in 2026?
Body Class By URL Parameter is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites, is rated 5/5 and was last updated 2 months ago, and scores 71/100 on our health check.
How many websites use Body Class By URL Parameter?
Body Class By URL Parameter is active on 50+ WordPress websites and has been downloaded 2,495 times since it launched in October 2021. It was downloaded 145 times in the last 30 days.
Does Body Class By URL Parameter work with WordPress 7.1?
Yes. The developer has tested Body Class By URL Parameter up to WordPress 7.1.5, the latest release. It requires WordPress 4.6 or newer.
What PHP version does Body Class By URL Parameter need?
Body Class By URL Parameter requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Body Class By URL Parameter last updated?
The latest version, 0.0.2, was released on October 1, 2026 (2 months ago).
Who makes Body Class By URL Parameter?
Body Class By URL Parameter is developed and maintained by Jose Mortellaro.
What are the best alternatives to Body Class By URL Parameter?
The most popular alternatives to Body Class By URL Parameter are Confirm Theme Structure (100+ installs), WP Browser/Platform Detecti… (80+ installs) and Add More Body Classes (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
