Support » Fixing WordPress » IE7 – Header w/ php include error

  • So, my blog runs multiple headers pending which section is pulled.

    So I made a few different versions of my header.php, which I renamed according to the fit the page section.

    After reviewing some posts on the support forum, I was able to figure out how to get my custom header pages to load per the page that was loaded.

    That was by sticking this code into the header of the page.php file

    </*
    Template Name: about
    */
    ?>
    <?php include(TEMPLATEPATH . '/header_about.php'); ?>

    and removing
    <?php get_header(); ?>

    This works perfect in FireFox, but the spacing on my pages goes to hell in IE7.

    Using IE7, here is an example of working page
    http://www.mackeydesigns.com/blog/ that uses the
    <?php get_header(); ?> in the page.php file.

    Now if you navigate to, say the portfolio tab in IE7
    http://www.mackeydesigns.com/blog/portfolio/
    the spacing gets really whacked out, and I suspect it’s the code:

    </*
    Template Name: about
    */
    ?>
    <?php include(TEMPLATEPATH . '/header_portfolio.php'); ?>

    Any ideas on how to fix this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘IE7 – Header w/ php include error’ is closed to new replies.