Title: Theme to Browser (T2B) Control
Author: Federico Jacobi
Published: <strong>February 27, 2011</strong>
Last modified: September 21, 2014

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/theme-to-browser-t2b-control.svg)

# Theme to Browser (T2B) Control

 By [Federico Jacobi](https://profiles.wordpress.org/federico_jacobi/)

[Download](https://downloads.wordpress.org/plugin/theme-to-browser-t2b-control.zip)

 * [Details](https://test.wordpress.org/plugins/theme-to-browser-t2b-control/#description)
 * [Reviews](https://test.wordpress.org/plugins/theme-to-browser-t2b-control/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/theme-to-browser-t2b-control/#installation)
 * [Development](https://test.wordpress.org/plugins/theme-to-browser-t2b-control/#developers)

 [Support](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/)

## Description

Helps you use a different theme depending on the browser your site is viewed on.
This is great for things like having a dedicated theme for mobile devices, but also
is a great way to cheat your way out of CSS hacks and browser specific annoyances(
IE anybody? ). Even though themes are usually designed to be cross browser and CSS
fine tuning is part of it, sometimes you do not have the time to spend trying to
figure out a way to make the pages behave across browsers.

PLEASE vote and/or rate if it works for you or let me know if there’s a fix needed
at web[at]federicojacobi.com.

Supported browsers for now: Internet Explorer, FireFox, Chrome, Opera, iPad/iPhone/
iPod, Safari, Playstation 3, and BlackBerries.

Thanks to Drazen Mokic, Nicholas McQuillin and Paul Gregory for their help and suggestions.

## Screenshots

 * [[
 * Easy selection based on browser

## Installation

 1. Upload `t2b.php` to the `/wp-content/plugins/t2b/` directory (create if necessary)
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Now there will be a new option on the Appearance tab … that’s where the magic works

## FAQ

What browsers are detected?
 Internet Explorer, FireFox, Opera, iPad/iPhone/iPod,
Safari, BlackBerry

Can I add other browsers?
 If you know PHP yes … just got to the code and modify
the first few lines, otherwise, drop me a line at web[at]federicojacobi.com and 
I’ll take care of it for you.

What about browser versions (ie5, ie6, operamini) ?
 Not yet, but you can add your
own. See question 2. You can alternatively use the Theme to Browser Control – IE
Pack to handle versions of IE. More packs to come!

What if the browser is not detected?
 It will show the default theme.

What is the default theme?
 Its the theme selected in the Appearance / Theme menu.

How do I change what browser gets what theme?
 In the Appearance tab under T2B Control…
that’s where the magic happends.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Theme to Browser (T2B) Control” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Federico Jacobi ](https://profiles.wordpress.org/federico_jacobi/)

[Translate “Theme to Browser (T2B) Control” into your language.](https://translate.wordpress.org/projects/wp-plugins/theme-to-browser-t2b-control)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/theme-to-browser-t2b-control/),
check out the [SVN repository](https://plugins.svn.wordpress.org/theme-to-browser-t2b-control/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/theme-to-browser-t2b-control/)
by [RSS](https://plugins.trac.wordpress.org/log/theme-to-browser-t2b-control/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

A couple of security fixes (nothing huge) and minor logic change. Also added filters
so the plugin is pluggable itself. Moved to 1.0 as this is now fairly mature 🙂

Removed BlackBerry8310 from the list of browsers.

#### 0.5

Complete modernization and rewrite. Cleared a bunch of notices and deprecated functions.

Added debug mode so y’all can test your custom regex against the current browser,
and verify in the frontend if the proper theme is getting loaded.

#### 0.4

A couple of bug fixes.

#### 0.3

Added “Default theme” behavior. A little bit of beautification work. Playstation3
added.

#### 0.21

Child themes now supported. Important fix. iPad added to browser list.

#### 0.2

BlackBerry8310 and All BlackBerry models added.

#### 0.1

First version published. Yay!

## Meta

 *  Version **1.0**
 *  Last updated **12 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/theme-to-browser-t2b-control/)
 * Tags
 * [browser](https://test.wordpress.org/plugins/tags/browser/)[browser control](https://test.wordpress.org/plugins/tags/browser-control/)
   [control](https://test.wordpress.org/plugins/tags/control/)[design](https://test.wordpress.org/plugins/tags/design/)
   [themes](https://test.wordpress.org/plugins/tags/themes/)
 *  [Advanced View](https://test.wordpress.org/plugins/theme-to-browser-t2b-control/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/reviews/)

## Contributors

 *   [ Federico Jacobi ](https://profiles.wordpress.org/federico_jacobi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/theme-to-browser-t2b-control/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.federicojacobi.com/)