Nginx Mobile Theme
This plugin allows you to switch theme according to the User Agent on the Nginx reverse proxy.
Betrachten Sie eine Alternative
Nginx Mobile Theme shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 8 years ago, and scores 33/100 on our health check.
- Kleine Benutzerbasis (über 200 aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 8 Jahren
- Nur getestet bis WordPress 4.9 (letzter IS 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Nginx Mobile Theme stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| mobile | >100 |
| nginx | >100 |
| smartphone | >100 |
| tablet | >100 |
| Thema | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 2 reviews
About Nginx Mobile Theme
From the official readme · v1.8.2Beschreibung
This plugin allows you to switch theme according to the User Agent on the Nginx reverse proxy.
Nginx Mobile Theme’s requirements are as follows.
- PHP 5.3 or later
- WordPress 3.7 or later
- Nginx Cache Controller 2.0.0 or later
Some Features
- You can flush mobile’s and pc’s each caches automatically via Nginx Cache Controller.
- Allow you to switch theme according to the user-agent.
- Allow you to customize multiple mobile device support via filter-hook.
Nginx Configuration
Add mobile device detection to the nginx.conf.
set $mobile '';
if ($http_user_agent ~* '(iPhone|iPod|incognito|webmate|Android|dream|CUPCAKE|froyo|BlackBerry|webOS|s8000|bada|IEMobile|Googlebot\-Mobile|AdsBot\-Google)') {
set $mobile "@smartphone";
}
Set proxy_cache_key.
proxy_cache_key "$mobile$scheme://$host$request_uri";
Send custom request header to the backend.
proxy_set_header X-UA-Detect $mobile;
Nginx Mobile Theme will switch theme when ‘@smartphone’ is received in the $_SERVER['HTTP_X_UA_DETECT'].
Wie man benutzt
- Please access to the theme-customizer in the WordPress admin area.
- Please select Mobile Theme in the drop-down.
- Click “Save & Publish” button to save.
Multiple mobile device support
- Add custom mobile detection to the nginx.conf.
- Add custom mobile detection to the WordPress via
nginxmobile_mobile_detectsfilter-hook.
nginx.conf:
set $mobile ”;
if ($http_user_agent ~* ‘(iPhone|iPod)’) {
set $mobile “@smartphone”;
}
if ($http_user_agent ~* ‘iPad’) {
set $mobile “@tablet”;
}
In your custom plugin:
add_filter(‘nginxmobile_mobile_detects’, function(){
return array(‘@smartphone’, ‘@tablet’);
});
- As a result, allow you to select theme for @smartphone and @tablet individually in the theme-customizer.
Amimoto Support
The Amimoto is a full-tuned WordPress AMI on the AWS EC2.
- Uncomment /etc/nginx/conf.d/default.conf in line 17
before:
#include /etc/nginx/mobile-detect;
after:
include /etc/nginx/mobile-detect;
- Add line to /etc/nginx/nginx.conf like following.
before:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding “”;
after:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding “”;
proxy_set_header X-UA-Detect $mobile; # add new line
-
Define constant in the wp-config.php
define(‘IS_AMIMOTO’, true);
Installation
- Upload
nginx-mobile-themeto the/wp-content/plugins/directory. - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress.
Änderungsprotokoll
1.8.1
- Add query strings mobile=on and mobile=off
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
- Add support child theme.
- Add notice when Nginx Cache Controller is not activated.
https://github.com/megumiteam/nginx-mobile-theme/compare/1.0.0…1.1.0
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Nginx Mobile Theme alternatives
All mobile plugins →Fragen und Antworten
Nginx Mobile Theme: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Nginx Mobile Theme free?
Yes. Nginx Mobile Theme is free to download and use from the official WordPress.org plugin directory.
Is Nginx Mobile Theme safe to use in 2026?
Nginx Mobile Theme shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 8 years ago, and scores 33/100 on our health check.
How many websites use Nginx Mobile Theme?
Nginx Mobile Theme is active on 200+ WordPress websites and has been downloaded 247,049 times since it launched in November 2013. It was downloaded 1,545 times in the last 30 days.
Does Nginx Mobile Theme work with WordPress 7.1?
Nginx Mobile Theme is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Nginx Mobile Theme last updated?
The latest version, 1.8.2, was released on October 17, 2018 (8 years ago).
Who makes Nginx Mobile Theme?
Nginx Mobile Theme is developed and maintained by Takayuki Miyauchi.
What are the best alternatives to Nginx Mobile Theme?
The most popular alternatives to Nginx Mobile Theme are AMP (300K+ installs), AMP for WP (70K+ installs) and WP Mobile Menu (70K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte

