Linux 软件免费装
Banner图

Slim Mobile Theme Switcher

开发者 sethsm
更新时间 2026年3月11日 01:09
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

responsive mobile mobile theme theme switcher device theme

下载

1.0.0

详情介绍:

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.

安装:

  1. Upload the slim-mobile-theme-switcher folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Settings > Mobile Theme Switcher to select your mobile and desktop themes.

升级注意事项:

1.0.0
  • Initial release.

常见问题:

How do I add a "View Full Site" link?

You can add a link to your mobile theme's footer: <a href="?theme=active">View Full Site</a>

What should I configure in my caching plugin?

For best results, exclude the theme query parameter from your cache. If your host supports it, enable "Vary by User-Agent" or "Mobile Caching".

Why isn't my theme switching?

The most common cause is Page Caching. 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.

Does this work with tablets?

By default, tablets (iPads, etc.) are served the Desktop Theme. This is a deliberate design choice to ensure high-resolution tablet screens receive the most robust version of your site.

How do I link to the mobile version manually?

Simply add ?theme=handheld to any URL on your site. To go back to the default/desktop view, use ?theme=active.

更新日志:

1.0.0