Nginx Mobile Theme
This plugin allows you to switch theme according to the User Agent on the Nginx reverse proxy.
Considere uma alternativa
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.
- Pequena base de usuários (mais de 200 instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 8 anos
- Testado apenas até WordPress 4.9 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Nginx Mobile Theme stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| mobile | >100 |
| nginx | >100 |
| smartphone | >100 |
| tablet | >100 |
| theme | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★ ★★★★★ 5 de 2 comentários
About Nginx Mobile Theme
From the official readme · v1.8.2Descrição
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'].
Como usar
- 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);
Instalação
- Upload
nginx-mobile-themeto the/wp-content/plugins/directory. - Ative o plugin através do menu 'Plugins' em WordPress.
Log de Changes
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
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Nginx Mobile Theme alternatives
All mobile plugins →FAQ
Nginx Mobile Theme: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito

