Stein Mobile Switcher


The Stein Mobile Switcher detects which device (e.g. Smartphone) your visitor is using and enables a theme you specified. You may also display links to the different device-versions in your templates (see F.A.Q.).


You can download the plugin at the WordPress Plugin Directory!


Upgrading From A Previous Version

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

Uploading The Plugin

Extract all files from the ZIP file and then upload it to /wp-content/plugins/.

Plugin Activation

Go to the admin area of your WordPress install and click on the "Plugins" menu. Click on "Activate" for the "Stein Mobile Switcher" plugin.

Plugin Usage

In the admin area go to "Appearance -> Stein Mobile Switcher" and choose a template for each device.

Frequently Asked Questions

How can I add Links to the other device-versions in my templates?

There is a function to do that:
sms_link_to_site($visibility = 'all', $target = 'full', $text = '') - Shows the 'target'-Website

$visibility is the entry device of the visitor. Possible values are "mobile", "tablet" and "all". E.g. if you want the link to be visible only to smartphone users:

sms_link_to_site('mobile', 'full')

You can also use OR:

sms_link_to_site('mobile|tablet|iphone', 'full')

$target specifies the Target-Template. Possible values are:

  1. tablet - Link to the Tablet-Site
  2. iphone - Link to the iPhone/iPod-Site
  3. mobile - Link to the Smartphone-Site
  4. full - Link to the normal Site

$text is the displayed link text.

Example usage:

<?php     if( function_exists('sms_link_to_site') ) { sms_link_to_site("mobile|tablet|iphone", 'full',  "Check out the full website!"); } ?>

How can I style the Links?
The links have a class equally to the functions name and target: class="sms_link_to_site_TARGET" (e.g. "sms_link_to_site_mobile"). Just style them with regular CSS.




  • Bugfix for Links to "Full"-Site


  • Added separate iPhone/iPod Detection
  • Bugfix in Link-Visibility


  • Bugfixes


  • Added German Translation


  • Initial Release

One comment on “Stein Mobile Switcher”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>