Přesměrování na specifickou verzi mobilního zařízení

/—code php
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/m/.*$
RewriteCond %{HTTP_ACCEPT} „text/vnd.wap.wml|application/vnd.wap.xhtml+xml“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „acs|alav|alca|amoi|audi|aste|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „dang|doco|eric|hipt|inno|ipaq|java|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|opwv“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „palm|pana|pant|pdxg|phil|play|pluc|port|prox|qtek|qwap|sage|sams|sany“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|w3cs|wap-|wapa|wapi“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „wapp|wapr|webc|winw|winw|xda|xda-“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „up.browser|up.link|windowssce|iemobile|mini|mmp“ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} „symbian|midp|wap|phone|pocket|mobile|pda|psp“ [NC]
#————- The line below excludes the iPad
RewriteCond %{HTTP_USER_AGENT} !^.*iPad.*$
#————-
RewriteCond %{HTTP_USER_AGENT} !macintosh [NC] #*SEE NOTE BELOW
RewriteRule ^(.*)$ /m/ [L,R=302]
\—

WordPress pro mobilní zařízení

**WPtouch**
„http://wordpress.org/extend/plugins/wptouch/“:http://wordpress.org/extend/plugins/wptouch/

WPtouch automatically transforms your WordPress website into an application-like theme, complete with ajax loading articles and effects when viewed from the most popular mobile web browsing devices like the iPhone, iPod touch, Android mobile devices, Palm Pre/Pixi and BlackBerry OS6 mobile devices.

The admin panel allows you to customize many aspects of its appearance, and deliver a fast, user-friendly and stylish version of your site to touch mobile visitors, without modifying a single bit of code (or affecting) your regular desktop theme.

The theme also includes the ability for visitors to switch between WPtouch view and your site’s regular theme.

Now includes .pot file for translations.

*Další možnosti*

**WordPress Mobile Pack**
„http://wordpress.org/extend/plugins/wordpress-mobile-pack/“:http://wordpress.org/extend/plugins/wordpress-mobile-pack/

A complete toolkit to help mobilize your WordPress site and blog. It includes a mobile switcher to select themes based on the type of user that is visiting the site, a selection of mobile themes, extra widgets, device adaptation and a mobile administration panel to allow users to edit the site or write new posts when out and about.

**Verve Mobile**
„http://wordpress.org/extend/plugins/verve-mobile-plugin/“:http://wordpress.org/extend/plugins/verve-mobile-plugin/

Automatically detects standard and advanced mobile devices and displays a compatible WordPress mobile theme.

**Mobile Smart**
„https://wordpress.org/plugins/mobile-smart/“:https://wordpress.org/plugins/mobile-smart/

The Mobile Smart plugin allows your WordPress site to switch your theme if a user visits it using a mobile device, plus adds template tags to help you.

– Switch your theme to a mobile-ready theme if a mobile device is detected (you can now enable/disable iPad/tablets)
– Manual Switcher – to allow your user to manually switch between desktop and mobile versions. Available in 3 versions: widget, option to automatically insert into footer, or template tag.
– Template functions to help determine which tier of mobile device (touch/smartphone/other) is viewing your site, to allow conditional content inclusion.
– Adds device and tier specific CSS selectors to the body_class, to allow conditional CSS (e.g. so in the same way you have „.single“ that you can target „.iphone“ or „.mobile-tier-touch“.)
– Image transcoding – rescale images to fit their device

**Create a WordPress theme with Mobile Web Templates**
This „article“:http://www.developer.nokia.com/Community/Wiki/Create_a_WordPress_theme_with_Mobile_Web_Templates explains how to create a WordPress theme by using Nokia’s Mobile Web Templates.

**How to create a mobile WordPress theme with jQuery Mobile**
jQuery Mobile is a tool which allows you to easily create mobile-optimized WordPress themes and web apps. „Tutorial »“:http://www.catswhocode.com/blog/how-to-create-a-mobile-wordpress-theme-with-jquery-mobile

„Create an adaptable website layout with CSS3 media queries »“:http://www.catswhocode.com/blog/create-an-adaptable-website-layout-with-css3-media-queries

„Fluid images »“:http://unstoppablerobotninja.com/entry/fluid-images/