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.
Screenshots
Installation
- Upload
useragent-content-switcher
directory to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add a new Page
- Write a short code. The following text field.
[agentsw]
How to use
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
brez
Contributors & Developers
“UserAgent Content Switcher” is open source software. The following people have contributed to this plugin.
Contributors“UserAgent Content Switcher” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “UserAgent Content Switcher” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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.