• Hi,

    I have created a custom theme using 2012’s child theme.

    Everything works great expect for IE8.

    I cannot add the function.php file, even if its the custom one from 2012, when I upload it over to child theme via FTP the page just goes blank. Therefore I cannot add the code to redirect IE8 to reading the page like IE7 would.

    How do I fix the IE8 bug?

Viewing 9 replies - 1 through 9 (of 9 total)
  • I cannot add the function.php file, even if its the custom one from 2012, when I upload it over to child theme via FTP the page just goes blank. Therefore I cannot add the code to redirect IE8 to reading the page like IE7 would.

    I might be mis-reading you here, but I believe you should not be copying functions.php over to your Child Theme. With Twenty Twelve, you leave that file where it is, then simply add new functions in the Child Theme.

    Thread Starter BLuu123

    (@bluu123)

    Hi,

    Thanks, putting in a blank functios.php works.

    I’m still having problems with IE8 thought.

    I tried putting in
    function fix_ie8() {if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {header("X-UA-Compatible: IE=7");}}add_action('send_headers','fix_ie8');

    did’t do anything, just messed up everything in IE8 even more.

    IE8 is a real PITA, and I ended up having a Developer go through my entire site and make things work as well as possible in a variety of browsers. IE does not process media queries, I have heard, so I now have a separate ie.css sheet in my Child Theme. This might or might not fix your problem, but here is an IE function I have added:

    <?php
    /*
    Plugin Name: IE8 PwrdFix
    Description: Makes typing appear in the Password Box during IE8 Login
    Version: 0.1
    License: GPL
    Author: _CK_
    Author URI: https://ckon.wordpress.com/2009/03/19/how-to-fix-internet-explorer-8/
    */
    /* function fix_ie8
    # in use as of 01/02/2012 as "IE PwrdFix" (plugin)
    # from: https://ckon.wordpress.com/2009/03/19/how-to-fix-internet-explorer-8/
    # Make a mini-plugin out of it and activate.
    #(you might be able to put it into functions.php if that executes before other data is sent but I am uncertain) */
    function fix_ie8() {
    if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {header("X-UA-Compatible: IE=7");}
    }
    /* add_action('bb_send_headers','fix_ie8'); // for bbPress */
    add_action('send_headers','fix_ie8'); // for WordPress
    /* end of function fix_ie8 */
    ?>

    In my own case, that makes the dots show up in the IE8 password box during login.

    Thread Starter BLuu123

    (@bluu123)

    Thanks for your reply.

    Yeah, that wont work for me.

    I tried making tweaks.php , didn’t do anything.

    And the page is now completely messed up. IE8 will show the site horribly, same with IE7. Also many bugs on FF.

    My domain is https://gamingtops.com/ only browser it works on is Chrome.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I recommend not using any theme that incorporates Media Queries. Media queries doesn’t work in IE8 or lower. Twenty Twelve is built on Media Queries from the ground up.

    Note: Recommendations based this thread as context.

    Thread Starter BLuu123

    (@bluu123)

    Ok, so whats a good theme to rebuild an old HTML page on?

    Thread Starter BLuu123

    (@bluu123)

    still looking for a solution, IE8 might mess things up so badly for me here. ??

    Thread Starter BLuu123

    (@bluu123)

    For some reason the site is now looking very good on IE9, FF and much better on IE8. I didn’t even do anything. I still have some issues on IE8

    It looks like you have SuperCache on your site, so maybe change you’d made had not taken effect yet?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Twenty Twelve – problems fixing IE8 bug’ is closed to new replies.