{"id":28011,"date":"2014-02-23T23:07:51","date_gmt":"2014-02-23T23:07:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/useragent-content-switcher\/"},"modified":"2026-03-29T22:03:17","modified_gmt":"2026-03-29T22:03:17","slug":"useragent-content-switcher","status":"publish","type":"plugin","link":"https:\/\/mn.wordpress.org\/plugins\/useragent-content-switcher\/","author":12387480,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.06","stable_tag":"3.06","tested":"7.0","requires":"4.7","requires_php":"8.0","requires_plugins":null,"header_name":"UserAgent Content Switcher","header_author":"Katsushi Kawamori","header_description":"","assets_banners_color":"","last_updated":"2026-03-29 22:03:17","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.riverforest-wp.info\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/useragent-content-switcher\/","header_author_uri":"https:\/\/riverforest-wp.info\/","rating":5,"author_block_rating":0,"active_installs":70,"downloads":5840,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.33":{"tag":"2.33","author":"Katsushi Kawamori","date":"2016-07-30 00:44:30"},"2.34":{"tag":"2.34","author":"Katsushi Kawamori","date":"2016-12-12 13:19:31"},"2.35":{"tag":"2.35","author":"Katsushi Kawamori","date":"2017-11-11 12:37:48"},"2.36":{"tag":"2.36","author":"Katsushi Kawamori","date":"2018-02-13 15:06:27"},"2.37":{"tag":"2.37","author":"Katsushi Kawamori","date":"2018-04-27 13:54:53"},"2.38":{"tag":"2.38","author":"Katsushi Kawamori","date":"2019-04-29 13:08:53"},"2.39":{"tag":"2.39","author":"Katsushi Kawamori","date":"2020-03-13 23:28:21"},"3.00":{"tag":"3.00","author":"Katsushi Kawamori","date":"2020-04-24 13:42:54"},"3.01":{"tag":"3.01","author":"Katsushi Kawamori","date":"2020-04-25 02:33:26"},"3.02":{"tag":"3.02","author":"Katsushi Kawamori","date":"2020-04-25 23:39:28"},"3.03":{"tag":"3.03","author":"Katsushi Kawamori","date":"2020-08-05 23:25:08"},"3.04":{"tag":"3.04","author":"Katsushi Kawamori","date":"2023-07-18 23:06:06"},"3.05":{"tag":"3.05","author":"Katsushi Kawamori","date":"2024-11-05 23:18:57"},"3.06":{"tag":"3.06","author":"Katsushi Kawamori","date":"2026-03-29 22:03:17"}},"upgrade_notice":{"1.0":""},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":1865432,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.33","2.34","2.35","2.36","2.37","2.38","2.39","3.00","3.01","3.02","3.03","3.04","3.05","3.06"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2291796,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1638572,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Settings","2":"Edit &amp; Quick Tag"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1127,2644,5131,5132,8845],"plugin_category":[],"plugin_contributors":[79586],"plugin_business_model":[],"class_list":["post-28011","plugin","type-plugin","status-publish","hentry","plugin_tags-browser","plugin_tags-phone","plugin_tags-platform","plugin_tags-useragent","plugin_tags-web-browser","plugin_contributors-katsushi-kawamori","plugin_committers-katsushi-kawamori"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/useragent-content-switcher\/assets\/icon-256x256.png?rev=1865432","icon_2x":"https:\/\/ps.w.org\/useragent-content-switcher\/assets\/icon-256x256.png?rev=1865432","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/useragent-content-switcher\/assets\/screenshot-1.png?rev=2291796","caption":"Settings"},{"src":"https:\/\/ps.w.org\/useragent-content-switcher\/assets\/screenshot-2.png?rev=1638572","caption":"Edit &amp; Quick Tag"}],"raw_content":"<!--section=description-->\n<p>Display the html written between the shortcode of each user agent.<\/p>\n\n<ul>\n<li>Can add a shortcode attribute value and set the corresponding user agent.<\/li>\n<li>Sibling plugin -&gt; <a href=\"https:\/\/wordpress.org\/plugins\/useragent-themes-switcher\/\">UserAgent Themes Switcher<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>useragent-content-switcher<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add a new Page<\/li>\n<li>Write a short code. The following text field. <code>[agentsw]<\/code><\/li>\n<\/ol>\n\n<h4>How to use<\/h4>\n\n<p>Please add new Page. Please write a short code in the text field of the Page. Please go in Text mode this task.<\/p>\n\n<p>\"UserAgent Content Switcher\" activation, you to include additional buttons for Shortcode in the Text (HTML) mode of the WordPress editor.<\/p>\n\n<p>Examples<\/p>\n\n<p>[agentsw]\nPlease code the HTML for the PC here.\n[\/agentsw]<\/p>\n\n<p>[agentsw ua='pc']\nPlease code the HTML for the PC here.\n[\/agentsw]<\/p>\n\n<p>[agentsw ua='tb']\nPlease code the HTML for the Tablet here.\n[\/agentsw]<\/p>\n\n<p>[agentsw ua='sp']\nPlease code the HTML for the Smartphone here.\n[\/agentsw]<\/p>\n\n<p>[agentsw ua='mb']\nPlease code the HTML for the Featurephone here.\n[\/agentsw]<\/p>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<h4>[3.06] 2025\/04\/24<\/h4>\n\n<ul>\n<li>Fix - Loading the management screen.<\/li>\n<\/ul>\n\n<h4>3.05<\/h4>\n\n<p>Supported WordPress 6.4.\nPHP 8.0 is now required.<\/p>\n\n<h4>3.04<\/h4>\n\n<p>Supported WordPress 5.6.<\/p>\n\n<h4>3.03<\/h4>\n\n<p>Fixed admin screen.<\/p>\n\n<h4>3.02<\/h4>\n\n<p>The admin screen has been changed.<\/p>\n\n<h4>3.01<\/h4>\n\n<p>Fixed a problem with the form validation process when adding \"Type\".<\/p>\n\n<h4>3.00<\/h4>\n\n<p>Can add a shortcode attribute value and set the corresponding user agent.<\/p>\n\n<h4>2.39<\/h4>\n\n<p>Conformed to the WordPress coding standard.<\/p>\n\n<h4>2.38<\/h4>\n\n<p>Removed unnecessary code.<\/p>\n\n<h4>2.37<\/h4>\n\n<p>Fixed fine problem.<\/p>\n\n<h4>2.36<\/h4>\n\n<p>Changed donate link.<\/p>\n\n<h4>2.35<\/h4>\n\n<p>Add Quick Tag.\nFixed problem of management screen.<\/p>\n\n<h4>2.34<\/h4>\n\n<p>Fixed problem of Javascript.<\/p>\n\n<h4>2.33<\/h4>\n\n<p>Supported GlotPress.<\/p>\n\n<h4>2.32<\/h4>\n\n<p>\/languages delete the directory.<\/p>\n\n<h4>2.31<\/h4>\n\n<p>Supported GlotPress.<\/p>\n\n<h4>2.3<\/h4>\n\n<p>Javascript and CSS will be loaded only to the required page.<\/p>\n\n<h4>2.2<\/h4>\n\n<p>Add screen of donate.\nChange readme.txt.\nChange \/languages.<\/p>\n\n<h4>2.1<\/h4>\n\n<p>Fixed a problem of Java Script for admin screen.<\/p>\n\n<h4>2.0<\/h4>\n\n<p>Change management screen to responsive tab menu design.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Fixed of problem of error in debug mode.<\/p>\n\n<h4>1.0<\/h4>","raw_excerpt":"Display the html written between the shortcode of each user agent.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28011"}],"author":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katsushi-kawamori"}],"wp:attachment":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28011"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28011"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28011"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28011"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28011"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}