WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Correct use & syntax

[Resolved] Correct use & syntax

  • I don’t know if I’ve got this right I’ve been reading through the installation docs over and over again.

    Am I correct to say that I put this code to detect a browser into one of my pages. So for example if I am running Firefox would this code redirect Firefox to Google?
    <?php if(is_firefox($version)) { /http://google.com// }; ?>

    I have a page that contains content that is not compatible with IE so I want to show IE users an alternative page.

    I have tried to put this code into one of my pages to test it but nothing happened.

    Thanks, Robert…

    http://wordpress.org/extend/plugins/php-browser-detection/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Correct use & syntax’ is closed to new replies.