Blackberry specific Mobile Redirect plugin? [closed]

There isn’t one that I know off, however if you wanted to write a script to solve your problem then: In Javascript: <script type=”text/javascript”> var userBrowser = navigator.userAgent; var url = “http://forblackberryusers.yoursite.com/”; if (userBrowser.indexOf(“BlackBerry”) >= 0) { if (userBrowser.indexOf(“WebKit”) >= 0) { window.location = url; } } </script> or alternatively you could be smart and … Read more

Blackberry mobile theme redirection

I’ve been using Chris Schuld’s Browser Class with very good results detecting a variety of data from the browser agent. Example of use require_once(‘lib/Browser.php’); $browser_check = new Browser(); $browser = $browser_check->getBrowser(); function browser_check($what) { global $browser; switch ($what) { case ‘ie’: if ($browser==Browser::BROWSER_IE) return true; else return false; break; case ‘bb’: if ($browser==Browser::BROWSER_BLACKBERRY) return true; … Read more

Adding a template in WPTouch

As WPTouch uses its own theme, we can’t hardcode certain functionality inside the regular theme, neither in a page/post template nor functions.php. So, a custom plugin is needed and the desired output made out of a Shortcode. Also, make sure WPTouch Restricted Mode is turned off in Advanced Options > Advanced Settings. But probably this … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)