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'); ?>
<?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
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?
- The topic ‘IE7 – Header w/ php include error’ is closed to new replies.