- This topic has 6 replies, 2 voices, and was last updated 3 years, 10 months ago by
Tom.
-
AuthorPosts
-
April 17, 2019 at 12:46 pm #871954
Aaron Harms
There is some functionality of one of our websites that does not work within our organization because of the Compatibility Mode we are forced to use for some older web applications.
I am wondering if we can safely change this IE content code to “IE=9” (instead of edge)….
<meta http-equiv="X-UA-Compatible" content="IE=edge">
And if so, where should I add the code to overwrite the above code?
P.S. It is the Google Translator plugin which is not working for us within our organization, but it does appear to work everywhere else.
Thanks,
AaronGeneratePress 2.2.2GP Premium 1.7.8April 17, 2019 at 3:34 pm #872050Tom
Lead DeveloperLead DeveloperAs of right now, that line is in
header.php
: https://github.com/tomusborne/generatepress/blob/2.2.2/header.phpThat means you would need to overwrite that entire file in your child theme, which isn’t ideal.
Let me look at a solution for GP 2.3 that will make it easier to adjust. I’ll get back to you ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 17, 2019 at 3:39 pm #872058Aaron Harms
Thanks Tom! Any idea when 2.3 might be out?
April 18, 2019 at 8:47 am #872750Tom
Lead DeveloperLead DeveloperOnce GPP 1.8 is out, we’ll be close to a 2.3 alpha. However, I’ll be able to update you once we make the change so you can safely make it to your current installation without waiting.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 10, 2019 at 1:01 pm #895682Tom
Lead DeveloperLead DeveloperHi there,
We’ve just committed this change to 2.3: https://github.com/tomusborne/generatepress/commit/d87d759845107ee369f7a198111075e07017ad6d
You can make the change to your current install if you’d like to take advantage of the filter:
add_filter( 'wp_headers', function( $headers ) { $headers['X-UA-Compatible'] = 'IE=9'; return $headers; }, 20 );
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 10, 2019 at 1:26 pm #895694Aaron Harms
Wonderful! Thanks so much Tom!
May 10, 2019 at 2:23 pm #895723Tom
Lead DeveloperLead DeveloperYou’re welcome! ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.