WordPress Integration Questions
-
I have tried all the other WP plugins that claim to detect IE8 & older, but each has a fatal problem when trying to use with a fully responsive site. You seem to be the only hope left and it looks like you are still maintaining your plugin. I need some guidance on several questions:
<?php if(is_desktop() && is_ie() && get_browser_version() <= 20) { echo "Will this work?"; } ?>
I am using the Caldera Engine and created a shortcode with the above code. (By the way, My Shortcodes is the free version of Caldera Engine.) For testing purposes, I am just using “20” as the version number above for testing, but will change it to “8” when all is working.
[1] I want to display an advisory message to the user, essentially saying that they can’t use IE8 or older to view this site.
[2] I want to do this very early in the WP startup sequence, long before IE6 throws a fatal error, which it currently does on the sites of interest.
[3] I was expecting that I needed some way for the screen to ‘pause’ to give the user time to read the advisory message. Once the user has done so, I was expecting that they would probably be prompted to click on an ‘Ok’ or something equivalent.
[4] At this point, what is the recommended way to ‘exit’ from the WP site?
Hopefully you can point out the right way to integrate the above plugin code so that I have a clean way to warn the users and simply refuse to continue displaying the website after they have had a chance to digest the warning. My objective is to advise the user long before any of the Home page has a chance to display.
Previously, I was using Browser Rejector 3.0 by Nick Halsey, but he hasn’t upgraded it in a long time. I also found that it has a fatal flaw when viewing some of my client sites on my new Galaxy S5, so had to remove.
I spent many hours trying to find other solutions and each of the following has a fatal error that I can’t get around when testing under various conditions:
* WP Outdated Browser 2.0.0 by Deblyn Prado
* Internet Explorer Alert 3.5 by Md Shariar
* Advanced Browser Check 3.1.0 by Mattias Hedman
There were several older plugins that were so out of date that they didn’t warrant checking.So I sure hope you can help me understand how to properly solve the above questions so that I can use your PHP Browser Detection to block users from trying to view these websites with IE8 or older.
— Thanks, Roger
- The topic ‘WordPress Integration Questions’ is closed to new replies.