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.
Installation
- Upload
useragent-content-switcher
directory to the/wp-content/plugins/
directory - Activez-la via le menu Extensions dans l’admin WordPress
- Add a new Page
- 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.
Exemples
[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
inactif
Contributeurs/contributrices & développeurs/développeuses
« UserAgent Content Switcher » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
Contributeurs“UserAgent Content Switcher” a été traduit dans 2 locales. Remerciez l’équipe de traduction pour ses contributions.
Traduisez « UserAgent Content Switcher » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
[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.