• Is there a way to hide a shortcode from a specific browser? For example, my site uses image_location=’bg’, which works awesome with everything but IE11. It squishes the image, and makes the site look bad. Can I somehow tell WordPress not to use that particular shortcode when someone hits the site with IE11, but to go ahead and process it for everything else? I know IE11 is pretty much dead in the gutter, but we still get about 10% of our hits from it, so I’d like to make it work, if possible.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you explain a bit more what’s going on here? If image_loaction=’bg’ doesn’t work for IE11, is there some other method to achieve what you want?

    I think browser sniffing is possible (but full of all kinds of problems), but it’s not a WordPress feature. You could try Googling “browser sniffing” to see if that gets you anywhere closer to where you want to be.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide shortcode from specific browsers?’ is closed to new replies.