Title: UserAgent Content Switcher
Author: Katsushi Kawamori
Published: <strong>23 février 2014</strong>
Last modified: 29 mars 2026

---

Recherche d’extensions

![](https://ps.w.org/useragent-content-switcher/assets/icon-256x256.png?rev=1865432)

# UserAgent Content Switcher

 Par [Katsushi Kawamori](https://profiles.wordpress.org/katsushi-kawamori/)

[Télécharger](https://downloads.wordpress.org/plugin/useragent-content-switcher.3.06.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/useragent-content-switcher/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/useragent-content-switcher/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/useragent-content-switcher/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/useragent-content-switcher/#developers)

 [Support](https://wordpress.org/support/plugin/useragent-content-switcher/)

## Description

Display the html written between the shortcode of each user agent.

 * Can add a shortcode attribute value and set the corresponding user agent.
 * Sibling plugin -> [UserAgent Themes Switcher](https://wordpress.org/plugins/useragent-themes-switcher/).

## Captures d’écran

 * [[
 * Settings
 * [[
 * Edit & Quick Tag

## Installation

 1. Upload `useragent-content-switcher` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add a new Page
 4. Write a short code. The following text field. `[agentsw]`

#### Mode d’emploi

Please add new Page. Please write a short code in the text field of the Page. Please
go in Text mode this task.

« UserAgent Content Switcher » activation, you to include additional buttons for
Shortcode in the Text (HTML) mode of the WordPress editor.

Examples

[agentsw]
 Please code the HTML for the PC here. [/agentsw]

[agentsw ua=’pc’]
 Please code the HTML for the PC here. [/agentsw]

[agentsw ua=’tb’]
 Please code the HTML for the Tablet here. [/agentsw]

[agentsw ua=’sp’]
 Please code the HTML for the Smartphone here. [/agentsw]

[agentsw ua=’mb’]
 Please code the HTML for the Featurephone here. [/agentsw]

## FAQ

Aucun

## Avis

![](https://secure.gravatar.com/avatar/1f99df5579b0f57598b62b2265594a8e8ca32e8fd0596fac17b563d313348712?
s=60&d=retro&r=g)

### 󠀁[Cloacking](https://wordpress.org/support/topic/cloacking/)󠁿

 [Ali Jahani](https://profiles.wordpress.org/aliexploit/) 15 octobre 2021

Hi I can use this plugin for cloacking googlebot?

 [ Lire les 2 avis ](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/)

## Contributeurs & développeurs

« UserAgent Content Switcher » est un logiciel libre. Les personnes suivantes ont
contribué à cette extension.

Contributeurs

 *   [ Katsushi Kawamori ](https://profiles.wordpress.org/katsushi-kawamori/)

“UserAgent Content Switcher” a été traduit dans 2 locales. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/useragent-content-switcher/contributors)
pour ses contributions.

[Traduisez « UserAgent Content Switcher » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/useragent-content-switcher)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/useragent-content-switcher/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/useragent-content-switcher/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/useragent-content-switcher/)
par [RSS](https://plugins.trac.wordpress.org/log/useragent-content-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### [3.06] 2025/04/24

 * Fix – Loading the management screen.

#### 3.05

Supported WordPress 6.4.
 PHP 8.0 is now required.

#### 3.04

Supported WordPress 5.6.

#### 3.03

Fixed admin screen.

#### 3.02

The admin screen has been changed.

#### 3.01

Fixed a problem with the form validation process when adding « Type ».

#### 3.00

Can add a shortcode attribute value and set the corresponding user agent.

#### 2.39

Conformed to the WordPress coding standard.

#### 2.38

Removed unnecessary code.

#### 2.37

Fixed fine problem.

#### 2.36

Changed donate link.

#### 2.35

Add Quick Tag.
 Fixed problem of management screen.

#### 2.34

Fixed problem of Javascript.

#### 2.33

Supported GlotPress.

#### 2.32

/languages delete the directory.

#### 2.31

Supported GlotPress.

#### 2.3

Javascript and CSS will be loaded only to the required page.

#### 2.2

Add screen of donate.
 Change readme.txt. Change /languages.

#### 2.1

Fixed a problem of Java Script for admin screen.

#### 2.0

Change management screen to responsive tab menu design.

#### 1.1

Fixed of problem of error in debug mode.

#### 1.0

## Méta

 *  Version **3.06**
 *  Last updated **il y a 2 mois**
 *  Active installations **50+**
 *  WordPress version ** 4.7 ou plus **
 *  Tested up to **7.0**
 *  PHP version ** 8.0 ou plus **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/useragent-content-switcher/), [Japanese](https://ja.wordpress.org/plugins/useragent-content-switcher/),
   et [Russian](https://ru.wordpress.org/plugins/useragent-content-switcher/).
 *  [Traduire dans votre langue](https://translate.wordpress.org/projects/wp-plugins/useragent-content-switcher)
 * Tags
 * [browser](https://fr-ca.wordpress.org/plugins/tags/browser/)[phone](https://fr-ca.wordpress.org/plugins/tags/phone/)
   [platform](https://fr-ca.wordpress.org/plugins/tags/platform/)[useragent](https://fr-ca.wordpress.org/plugins/tags/useragent/)
   [web browser](https://fr-ca.wordpress.org/plugins/tags/web-browser/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/useragent-content-switcher/advanced/)

## Notes

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/useragent-content-switcher/reviews/)

## Contributeurs

 *   [ Katsushi Kawamori ](https://profiles.wordpress.org/katsushi-kawamori/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/useragent-content-switcher/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://shop.riverforest-wp.info/donate/)