
內容簡介
這是一個簡單的外掛,可讓您將移動裝置使用者重新導向到移動網站(可以使用或不使用 slug url)
例如,它可以重新導向
desktop.com/ 到 mobile.com/
desktop.com/first/ 到 mobile.com/first/
desktop.com/second-post/ 到 mobile.com/second-post/
其他
注意事項
PHP 編碼標準:WordPress
Javascript 編碼標準:Airbnb
DocBlock 標準:phpDocumentor
縮排使用 2 個空格
儲存庫:mobile-redirect-with-slug
功能
[ ] Cookie 支援
[ ] 為某些模板(例如主頁)重新導向
[ ] 使用Mobile Detect選項不重新導向平板電腦
[ ] i18n 支援
鳴謝
gulp-connect-php
外掛標籤
開發者團隊
原文外掛簡介
Simple plugin that allows you to redirect mobile’s user to mobile site (with or without slug url)
For example, it redirects
desktop.com/ to mobile.com/
desktop.com/first/ to mobile.com/first/
desktop.com/second-post/ to mobile.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
gulp-connect-php
