You can easily detect browser using this function and add visitor browser name in the body class function . Put this on your theme functions.php [php] add_filter(‘body_class’,’myfunction_browser_body_class’); function myfunction_browser_body_class($classes) { global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone; if($is_lynx) $classes[] = ‘lynx’; elseif($is_gecko) $classes[] = ‘gecko’; elseif($is_opera) $classes[] = ‘opera’; elseif($is_NS4) $classes[] = ‘ns4’; […]
Blank Responsive HTML5 WordPress theme
As the modern browsers are starting to support some parts of HTML5, CSS3 and also the user of iphone and other mobile device are growing rapidly. So HTML5 responsive web design is getting very popular. Today i am very much excited to present Blank Responsive HTML5 WordPress theme which will reduce your theme development time. […]