{"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-03-10T17:09:04","modified_gmt":"2026-03-10T17:09:04","slug":"slim-mobile-theme-switcher","status":"publish","type":"plugin","link":"https:\/\/es.wordpress.org\/plugins\/slim-mobile-theme-switcher\/","author":23321564,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","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-03-10 17:09:04","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":0,"downloads":160,"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"}},"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":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3479290,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3479290,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3479290,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3479290,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"The settings page where you can choose your mobile and desktop themes."},"jetpack_post_was_ever_published":false},"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>Slim Mobile Theme Switcher is a developer-friendly, lightweight solution for sites that need a dedicated mobile experience without the overhead of a heavy mobile plugin. This plugin targets mobile handhelds, ensuring tablet users may still enjoy your full desktop-grade layout.<\/p>\n\n<h3>Key Features<\/h3>\n\n<ul>\n<li><strong>True Mobile Detection:<\/strong> Uses refined regex to separate small-screen phones from tablets (iPads\/Android tablets).<\/li>\n<li><strong>Manual Overrides:<\/strong> Allow users or testers to force a view using <code>?theme=handheld<\/code> or <code>?theme=active<\/code>.<\/li>\n<li><strong>Persistent Choice:<\/strong> Option to remember a user's manual theme choice 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<h3>How It Works<\/h3>\n\n<p>The plugin uses a precise, two-step detection process to ensure the best user experience:\n1. <strong>Exclude Tablets:<\/strong> High-resolution devices (iPads, Android tablets, Kindle Fire) are served the Desktop Theme to take advantage of their screen size.\n2. <strong>Detect Phones:<\/strong> Handheld mobile devices (iPhone, Android Mobile) are served the Mobile Theme.\n3. <strong>Manual Choice:<\/strong> If a user manually switches via URL, their choice is honored for 30 days via cookies.<\/p>\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; 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%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=\"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<dt id=\"does%20this%20work%20with%20tablets%3F\"><h3>Does this work with tablets?<\/h3><\/dt>\n<dd><p>By default, tablets (iPads, etc.) are served the <strong>Desktop Theme<\/strong>. This is a deliberate design choice to ensure high-resolution tablet screens receive the most robust version of your site.<\/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\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Serve a mobile theme to phones while keeping desktops\/tablets on the primary theme. Lightweight mobile theme switcher with modern device detection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/287367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=287367"}],"author":[{"embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sethsm"}],"wp:attachment":[{"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=287367"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=287367"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=287367"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=287367"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=287367"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=287367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}