Short codes conditional on browser version
-
I need to prevent execution of a shortcode in old IE browsers. I am hoping to avoid installation of another plugin. I attempted to make the shortcode conditional by encapsulating as follows
<!--[if !(lte IE 8)]><!--> [shortcode] <!--<![endif]-->
but that did not work. Does anyone have any suggestions for how to make a shortcode conditional based on the browser version?
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Short codes conditional on browser version’ is closed to new replies.