Title: Plugin not switching theme for mobile devices
Last modified: August 21, 2016

---

# Plugin not switching theme for mobile devices

 *  [rawaccess](https://wordpress.org/support/users/rawaccess/)
 * (@rawaccess)
 * [13 years ago](https://wordpress.org/support/topic/plugin-not-switching-theme-for-mobile-devices/)
 * I followed the simple and clear installation instructions found here:
    [http://wordpress.org/plugins/mobilepress/installation/](http://wordpress.org/plugins/mobilepress/installation/)
 * 1. Upload the “mobilepress” folder into your “/wp-content/plugins/” directory.
   
   2. Activate the plugin through the “Plugins” menu in WordPress.
 * Yet, when I visit an article/blog on the site, nothing happens; I see the desktop
   version. Why?
 * [http://wordpress.org/extend/plugins/mobilepress/](http://wordpress.org/extend/plugins/mobilepress/)

Viewing 1 replies (of 1 total)

 *  [swg1cor14](https://wordpress.org/support/users/swg1cor14/)
 * (@swg1cor14)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-switching-theme-for-mobile-devices/#post-3823914)
 * Depends on what type of device you are using. Tablets do not show the mobile 
   device.
 * If you just want to check how the site looks in mobile version, add ?mobile to
   the end of your URL. This sets a session variable so in order to go back to desktop
   version you need to add ?nomobile to end of url.
 * If you want to force all tablets (including iPad’s) to show the mobile site, 
   you can edit the file in /wp-content/plugins/mobilepress/classes/check.php.
 * Find the function mopr_detect_device() and you will see where it sets **$this-
   >activated** to FALSE for tablet devices.
 * Replace that section with this:
 *     ```
       $this->browser		= 'touch';
        $this->activated	= TRUE;
        $this->theme		= mopr_get_option( 'mobile_theme', 1 );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Plugin not switching theme for mobile devices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mobilepress.svg)
 * [MobilePress](https://wordpress.org/plugins/mobilepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobilepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobilepress/)
 * [Active Topics](https://wordpress.org/support/plugin/mobilepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobilepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobilepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [swg1cor14](https://wordpress.org/support/users/swg1cor14/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-switching-theme-for-mobile-devices/#post-3823914)
 * Status: not resolved