🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Browser Body Classes with Shortcodes icon
Peut-être abandonné Testé jusqu'à 3.9.40 #1 in Body Classes

Browser Body Classes with Shortcodes

Adds browser-specific body classes for styling, and shortcodes to show or hide content to/from specified browsers and devices.

Installations actives10+10+ niveaux
Téléchargements · 30D188▼ -2.6% vs prev. 30d
Évaluation5/54 avis
Score de santé30/100En danger
Téléchargements de tous les temps11.1KSince Oct 2013
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.3Php tout
Téléchargements · 7j46▲ +9.5% week over week
Notre verdict

Envisager une alternative

Browser Body Classes with Short… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 13 years ago, and scores 30/100 on our health check.

  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 12 ans
  • Uniquement testé jusqu'à WordPress3,9 (le dernier est de 7,1)

Téléchargements quotidiens

3710Sep 5Oct 19Dec 3
Hier11
Moyenne quotidienne (1 ans)5
Jour de pointe185 Mai 2026
12 Derniers mois2K

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 Browser Body Classes with S… stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
Body Classes >100 813 Best Body Classes plugins →
browser >100 10,000 Best browser plugins →
Browser Body Classes >100 470 Best Browser Body Classes plugins →
classes >100 5,366 Best classes plugins →

Adoption de version

Part de sites actifs par version.

  • 1.6100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 4 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Browser Body Classes with Shortcodes

À partir du Lisezmoi officiel · v1.6

Description

Adds browser-specific body classes for styling, and shortcodes to show or hide content to/from specified browsers and devices.

  • As of v1.6, compatible with WordPress 3.9.

  • As of v1.5, includes new body classes, including catch-alls like: desktop, handheld, mobile, and tablet.

  • As of v1.4, includes Shortcode Generator Modal Window, and 16 new Browser Body Classes, for a total of 33.

  • As of v1.3, includes Shortcode Generator Meta Box, and an Options page, with the option to restrict access to the Meta Box according to user capability, or disable it altogether.

Browser Body Classes with Shortcodes provides more than 40 browser-specific body classes to make styling your site for different platforms and devices a cinch. The plugin also comes with two powerful, yet simple, shortcodes to specify which browsers/devices to show content to, and which to hide it from. Still don’t feel like typing all those browser names? No worries! Browser Body Classes with Shortcodes comes with two different shortcode generators, with options to control who gets to use them.

The two shortcodes each have just one required attribute: [showto browser=””][/showto] and [hidefrom browser=””][/hidefrom]

  • Example: [showto browser=”firefox ie10″] Your Content [/showto]

This will show the content only to Firefox and IE10.

  • Example: [hidefrom browser=”opera safari chrome”] Your Content [/hidefrom]

This will hide the content only from Opera, Chrome, and Safari.

  • Example: [hidefrom browser=”unknown”] Your Content [/hidefrom]

This will hide the content from any browser not in the list of browser options below.

Note: You can use other shortcodes inside these shortcodes. You can also put a [hidefrom] shortcode inside a [showto] shortcode, but not the other way around.

  • Example: [showto browser=”firefox chrome”]Chrome and Firefox will see this. [hidefrom browser=”firefox”]Firefox won’t see this but Chrome will.[/hidefrom][/showto]

Browser options must be all lowercase and must contain a space or a comma between them if multiple are used. Acceptable Browser options are:

  • desktop

  • handheld

  • tablet

  • mobile

  • ios

  • firefox

  • chrome

  • safari

  • opera

  • maxthon

  • msie

  • ie5

  • ie6

  • ie7

  • ie8

  • ie9

  • ie10

  • ie11

  • ns4

  • lynx

  • samsunggalaxytablet

  • kindlefire

  • kindlesilk

  • ipad

  • iphone

  • ipod

  • android

  • blackberry

  • skyfire

  • operamobile

  • operamini

  • samsung

  • winmobile

  • iemobile

  • nokia

  • motorola

  • palm

  • symbian

  • lg

  • blazer

  • bolt

  • unknown

Obligations

  • PHP 5.2+

  • WordPress 3.3+

Installation

  1. Upload ‘browser-body-classes-with-shortcodes/’ to the ‘/wp-content/plugins/’ directory.

  2. Activez le plugin via le menu "plugins" dans WordPress.

  3. Configure your Options at Settings > Browser Body Classes Options

  4. Use the provided shortcodes on your pages and posts, or use the provided body classes to style your own browser-specific and device-specific content.

Journal de modifications

Adds several new body classes and some additional options for configuring your shortcode generators.

1.6

  • Compat with WordPress 3.9.

1.5

Some important additions in this release:

  • Added 9 new device-specific body-classes, including catch-alls like: desktop, handheld, tablet, mobile, ios.

  • Added option to choose onto which row of the TinyMCE panel your shortcode button will go.

  • Fixed a few minor bugs.

1.4

Major Additions in this release:

  • Added 16 new browser and device-specific body classes, bringing the total to 33.

  • Added another option for automated shortcode generation: a button on your Visual Editor toolbar opens up the generator in a modal window. You still have the Meta Box. Either or both can be disabled, or access-controlled based on user capabilities.

  • The “Configure Options” button in the Meta Box now only shows up for Administrators.

  • Completely revamped the PHP that powers the shortcodes, now optimized to reduce server load.

  • Fixed some problems with a few of the existing body classes, specifically Opera, Android, and iPhone. All better.

  • Tweaked some styles.

  • Added support and review links to the Options page.

1.3

Major Additions:

  • Now includes Shortcode Generator Meta Box located beneath the page editor, and an Options page, with the option to restrict access to the Meta Box according to user capability, or disable it altogether.

1.2

  • Cleaned up code for IE version checker. No functional change from 1.1

1.1

  • This version no longer uses CSS to show or hide content. Everything is done with PHP.

  • Fixed problem with IE.

Journal des modifications complet sur WordPress.org →

Captures d'écran

A shiny button.
A shiny button.
To insert the shortcode, you have to click stuff. Sorry, no direct Brain-to-WordPress feature yet, but it's in the plans.
To insert the shortcode, you have to click stuff. Sorry, no direct Brain-to-WordPress…
See what happens when you click stuff? Wait... what's that shiny box down below?
See what happens when you click stuff? Wait... what's that shiny box down below?
Oh, it's the meta box, with another shortcode generator. You know... options. People like options.
Oh, it's the meta box, with another shortcode generator. You know... options. People like…
Yes, you have to click stuff here too.
Yes, you have to click stuff here too.
And more stuff. Then you have to copy and paste it. What a rip-off.
And more stuff. Then you have to copy and paste it. What a rip-off.
Look. More options.
Look. More options.

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.

Badge d'installations actives Badge Badge de score de santé

FAQ

Browser Body Classes with Shortcodes: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Browser Body Classes with Short… free?

Yes. Browser Body Classes with Short… is free to download and use from the official WordPress.org plugin directory.

Is Browser Body Classes with Short… safe to use in 2026?

Browser Body Classes with Short… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 13 years ago, and scores 30/100 on our health check.

How many websites use Browser Body Classes with Short…?

Browser Body Classes with Short… is active on 10+ WordPress websites and has been downloaded 11,129 times since it launched in October 2013. It was downloaded 188 times in the last 30 days.

Does Browser Body Classes with Short… work with WordPress 7.1?

Browser Body Classes with Short… is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Browser Body Classes with Short… last updated?

The latest version, 1.6, was released on May 9, 2014 (13 years ago).

Who makes Browser Body Classes with Short…?

Browser Body Classes with Short… is developed and maintained by thomstark.

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

↑↓ bouger↵ ouvrir