{"id":287367,"date":"2026-03-10T17:09:17","date_gmt":"2026-03-10T17:09:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/slim-mobile-theme-switcher\/"},"modified":"2026-06-10T18:14:47","modified_gmt":"2026-06-10T18:14:47","slug":"slim-mobile-theme-switcher","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/slim-mobile-theme-switcher\/","author":23321564,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.0","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Slim Mobile Theme Switcher","header_author":"Seth Smigelski","header_description":"Serve a mobile theme to phones while keeping desktops\/tablets on the primary theme. Lightweight mobile theme switcher with modern device detection.","assets_banners_color":"001290","last_updated":"2026-06-10 18:14:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=M3B2Q94PGVVWL","header_plugin_uri":"https:\/\/www.sethcreates.com\/plugins-for-wordpress\/slim-mobile-theme-switcher\/","header_author_uri":"https:\/\/www.sethcreates.com\/plugins-for-wordpress\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":403,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sethsm","date":"2026-03-10 17:09:04"},"1.1.0":{"tag":"1.1.0","author":"sethsm","date":"2026-06-10 18:14:47"}},"upgrade_notice":{"1.0.0":"<ul>\n<li>Initial release.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3479290,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3479290,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3479290,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3479290,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3479290,"resolution":"1","location":"assets","locale":"","width":1788,"height":1680}},"screenshots":{"1":"The settings page where you can choose your mobile and desktop themes."}},"plugin_section":[],"plugin_tags":[257453,841,7249,606,11085],"plugin_category":[],"plugin_contributors":[245498],"plugin_business_model":[],"class_list":["post-287367","plugin","type-plugin","status-publish","hentry","plugin_tags-device-theme","plugin_tags-mobile","plugin_tags-mobile-theme","plugin_tags-responsive","plugin_tags-theme-switcher","plugin_contributors-sethsm","plugin_committers-sethsm"],"banners":{"banner":"https:\/\/ps.w.org\/slim-mobile-theme-switcher\/assets\/banner-772x250.png?rev=3479290","banner_2x":"https:\/\/ps.w.org\/slim-mobile-theme-switcher\/assets\/banner-1544x500.png?rev=3479290","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/slim-mobile-theme-switcher\/assets\/icon-128x128.png?rev=3479290","icon_2x":"https:\/\/ps.w.org\/slim-mobile-theme-switcher\/assets\/icon-256x256.png?rev=3479290","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/slim-mobile-theme-switcher\/assets\/screenshot-1.png?rev=3479290","caption":"The settings page where you can choose your mobile and desktop themes."}],"raw_content":"<!--section=description-->\n<p>Ever wanted to serve a dedicated theme to visitors on handheld devices instead of a theme that is fine-tuned for big screen traffic?<\/p>\n\n<p>Slim Mobile Theme Switcher is a highly optimized, lightweight plugin designed for websites that need to serve a different theme to mobile devices while preserving the primary desktop experience.<\/p>\n\n<p>Instead of relying on clunky, resource-heavy device detection libraries, this plugin uses streamlined, modern user-agent detection to instantly route users to the correct theme before the page even loads.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>Three-way Theme Routing:<\/strong> Serve up to three different themes simultaneously. Set one theme for Mobile Phones, one for Desktops, and optionally enable a dedicated theme specifically for Tablets (iPads\/Android tablets).<\/li>\n<li><strong>True Mobile Detection:<\/strong> Uses refined regex to separate small-screen phones from tablets (iPads\/Android tablets).<\/li>\n<li><strong>Zero-Friction Setup:<\/strong> Select your themes from a simple dropdown menu. No coding required.<\/li>\n<li><strong>Manual Overrides:<\/strong> Allow users to manually switch between views using <code>?theme=handheld<\/code> or <code>?theme=active<\/code> or <code>?theme=tablet<\/code>.<\/li>\n<li><strong>Persistent Choice:<\/strong> Activating the 'Remember Visitor\u2019s Choice' option ensures that when a user has manually selected a different theme, this preference is saved for 30 days via cookies.<\/li>\n<li><strong>No Bloat:<\/strong> Zero front-end CSS or JS added by the plugin itself.<\/li>\n<li><strong>Developer Friendly:<\/strong> Built by a developer for developers.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>slim-mobile-theme-switcher<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Slim Mobile Theme Switcher<\/strong> to select your mobile and desktop themes.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20manually%20force%20a%20specific%20theme%3F\"><h3>How do I manually force a specific theme?<\/h3><\/dt>\n<dd><p>You can append query strings to your URLs to allow users to switch themes manually.\n* Mobile Theme: <code>yoursite.com\/?theme=handheld<\/code>\n* Tablet Theme: <code>yoursite.com\/?theme=tablet<\/code>\n* Desktop Theme: <code>yoursite.com\/?theme=active<\/code><\/p><\/dd>\n<dt id=\"how%20do%20i%20add%20a%20%22view%20full%20site%22%20link%3F\"><h3>How do I add a \"View Full Site\" link?<\/h3><\/dt>\n<dd><p>You can add a link to your mobile theme's footer: <code>&lt;a href=\"?theme=active\"&gt;View Full Site&lt;\/a&gt;<\/code><\/p><\/dd>\n<dt id=\"how%20do%20i%20link%20to%20the%20mobile%20version%20manually%3F\"><h3>How do I link to the mobile version manually?<\/h3><\/dt>\n<dd><p>Simply add <code>?theme=handheld<\/code> to any URL on your site. To go back to the default\/desktop view, use <code>?theme=active<\/code>.<\/p><\/dd>\n<dt id=\"what%20should%20i%20configure%20in%20my%20caching%20plugin%3F\"><h3>What should I configure in my caching plugin?<\/h3><\/dt>\n<dd><p>For best results, exclude the <code>theme<\/code> query parameter from your cache. If your host supports it, enable \"Vary by User-Agent\" or \"Mobile Caching\".<\/p><\/dd>\n<dt id=\"why%20isn%27t%20my%20theme%20switching%3F\"><h3>Why isn't my theme switching?<\/h3><\/dt>\n<dd><p>The most common cause is <strong>Page Caching<\/strong>. If your host (like WP Engine or Kinsta) or a plugin (like WP Rocket) caches the desktop version of a page, it may serve that cached HTML to mobile users regardless of this plugin. Please ensure \"Mobile Caching\" or \"User-Agent Vary\" is enabled in your caching setup.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li><strong>Feature:<\/strong> Added dedicated Tablet Theme routing. You can now serve unique themes to Mobile, Tablet, and Desktop users independently.<\/li>\n<li><strong>Feature:<\/strong> Added a persistent cookie (30 days) to remember a visitor's manual theme override choice.<\/li>\n<li><strong>Tweak:<\/strong> Completely overhauled the mobile detection logic for better accuracy across modern devices.<\/li>\n<li><strong>DEV:<\/strong> Tested Up To WordPress 7.0.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Serve a lightweight mobile theme to phones while keeping desktops on your primary theme. Includes dedicated tablet routing.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/287367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=287367"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sethsm"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=287367"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=287367"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=287367"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=287367"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=287367"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=287367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}