Title: Slim Mobile Theme Switcher
Author: Seth Smigelski
Published: <strong>10 marts, 2026</strong>
Last modified: 10 marts, 2026

---

Meklēt spraudņus

![](https://ps.w.org/slim-mobile-theme-switcher/assets/banner-772x250.png?rev=3479290)

![](https://ps.w.org/slim-mobile-theme-switcher/assets/icon-256x256.png?rev=3479290)

# Slim Mobile Theme Switcher

 Autors [Seth Smigelski](https://profiles.wordpress.org/sethsm/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/slim-mobile-theme-switcher.1.0.0.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/slim-mobile-theme-switcher/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/slim-mobile-theme-switcher/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/slim-mobile-theme-switcher/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/slim-mobile-theme-switcher/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/slim-mobile-theme-switcher/)

## Apraksts

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.

### Key Features

 * **True Mobile Detection:** Uses refined regex to separate small-screen phones
   from tablets (iPads/Android tablets).
 * **Manual Overrides:** Allow users or testers to force a view using `?theme=handheld`
   or `?theme=active`.
 * **Persistent Choice:** Option to remember a user’s manual theme choice for 30
   days via cookies.
 * **No Bloat:** Zero front-end CSS or JS added by the plugin itself.
 * **Developer Friendly:** Built by a developer for developers.

### How It Works

The plugin uses a precise, two-step detection process to ensure the best user experience:

1. **Exclude Tablets:** High-resolution devices (iPads, Android tablets, Kindle 
Fire) are served the Desktop Theme to take advantage of their screen size. 2. **
Detect Phones:** Handheld mobile devices (iPhone, Android Mobile) are served the
Mobile Theme. 3. **Manual Choice:** If a user manually switches via URL, their choice
is honored for 30 days via cookies.

## Ekrānuzņēmumi

 * [[
 * The settings page where you can choose your mobile and desktop themes.

## Uzstādīšana

 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.

## BUJ

### 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`.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Slim Mobile Theme Switcher” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši
šādi cilvēki.

Līdzdalībnieki

 *   [ Seth Smigelski ](https://profiles.wordpress.org/sethsm/)

[Tulkot “Slim Mobile Theme Switcher&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/slim-mobile-theme-switcher)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/slim-mobile-theme-switcher/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/slim-mobile-theme-switcher/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/slim-mobile-theme-switcher/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/slim-mobile-theme-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0.0

 * Initial release.

## Meta

 *  Versija **1.0.0**
 *  Pēdējo reizi atjaunots: **pirms 2 mēnešiem**
 *  Aktīvās instalācijas: **20+**
 *  WordPress versija ** 5.8 vai jaunāka **
 *  Pārbaudīts līdz: **6.9.4**
 *  PHP versija ** 7.4 vai jaunāka **
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/slim-mobile-theme-switcher/)
 * Birkas:
 * [mobile](https://lv.wordpress.org/plugins/tags/mobile/)[mobile theme](https://lv.wordpress.org/plugins/tags/mobile-theme/)
   [responsive](https://lv.wordpress.org/plugins/tags/responsive/)[Theme Switcher](https://lv.wordpress.org/plugins/tags/theme-switcher/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/slim-mobile-theme-switcher/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

[Your review](https://wordpress.org/support/plugin/slim-mobile-theme-switcher/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/slim-mobile-theme-switcher/reviews/)

## Līdzdalībnieki

 *   [ Seth Smigelski ](https://profiles.wordpress.org/sethsm/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/slim-mobile-theme-switcher/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://www.paypal.com/donate/?hosted_button_id=M3B2Q94PGVVWL)