Automatic theme selection – theme switcher plug-in
-
Hello there!
I am using the theme switcher plug-in at my test-site <https://www.populoud.de/mark/wordpress/>
The theme I prefer most (a modded framefake theme) does not like being browsed with IE. So i asked myself if it would be possible to use a browser detection script like this one:
<?php
if (strstr($_SERVER[“HTTP_USER_AGENT”], “MSIE”)) {
echo ‘<link rel=”stylesheet” type=”text/css” href=”/layout/css/common_ie.css” />’;
} else {
echo ‘<link rel=”stylesheet” type=”text/css” href=”/layout/css/common.css” />’;
}
?>to tell the theme switcher plug-in to select another theme which is ok for IE. This would be handy, because with Mac-IE the User does not see anything but the background picture of the framefake theme.
WordPress 1.5
Ryan Boren’s theme switcher plug-in
Modded Framefake theme (several versions just for testing)
Kubrick
- The topic ‘Automatic theme selection – theme switcher plug-in’ is closed to new replies.