外掛說明
Simple plugin that allows you to redirect mobile’s user to mobile site (with or without slug url)
For example, it redirects
desktop.com/
tomobile.com/
desktop.com/first/
tomobile.com/first/
desktop.com/second-post/
tomobile.com/second-post/
Others
Notes
- PHP Coding Standards: WordPress
- Javascript Coding Standards: Airbnb
- DocBlock Standard: phpDocumentor
- 2 spaces for indent
- Repository: mobile-redirect-with-slug
Features
- [ ] Cookie support
- [ ] Redirect for some template (e.g. homepage)
- [ ] Option to not redirect tablet by using Mobile Detect
- [ ] i18n support
Thanks
螢幕擷圖
安裝方式
- Install the plugin via plugin’s dashboard or download and upload this plugin into
wp-content/plugins
directory - Activate the plugin through the Plugins menu in WordPress
- Go to
Settings > Mobile Redirect
or clickSettings
on plugin’s dashboard - Settings it
- Click
Save Changes
常見問題集
-
How to use it
-
Activate the plugin on your plugin dashboard (
/wp-admin/plugins.php
) -
How it work
-
Detect
mobile
by usingwp_is_mobile
function then redirect it
使用者評論
2016 年 9 月 3 日
I’m using child-theme for mobile site.
And using this plugin to redirect (with slug) mobile’s user
to mobile’s page directly.
參與者及開發者
變更記錄
1.0.1 (16 Aug 2016)
- Update meta
1.0.0 (13 Aug 2016)
- First release