• Completely new to this. I was inserting a redirect code into the header file but then decided the easier way to go was to install the plugin. Well I decided to go back into the header file and delete the changes I made. I might have deleted more than I wanted and now the site is not displaying correctly. We are using the inFocus theme By Mysitemyway. Our website is http://www.galleher.com

    This is the code I have in there (hope I copied it correctly):

    <?php
    /**
     * Header Template
     *
     * @package Mysitemyway
     * @subpackage Template
     */
    ?><!DOCTYPE html>
    <!--[if lt IE 7]>  <html class="ie ie6 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 7]>     <html class="ie ie7 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8]>     <html class="ie ie8 lte9 lte8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 9]>     <html class="ie ie9 lte9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if gt IE 9]>  <html> <![endif]-->
    <!--[if !IE]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
    <head>
    <body class="<?php mysite_body_class(); ?>">
    <div class="multibg"><div class="multibg"></div></div>
    <div id="body_inner">
    
    <?php mysite_before_header();
    
    ?><div id="header">
    		<div id="header_inner">
    
    		<?php mysite_header(); 
    
    		?></div><!-- #header_inner -->
    	</div><!-- #header -->
    
    <?php mysite_after_header();
    
    ?><div id="content">
    		<div id="content_inner">
    
    			<?php mysite_before_main();
    
    			?><div id="main">
    				<div id="main_inner">
    					<?php mysite_before_page_content(); ?>

Viewing 1 replies (of 1 total)
  • There is nothing in the <HEAD> section, you indeed deleted a bit too much. Get a fresh, unaltered copy of the theme, take the header.php from there, and place that in your website.

Viewing 1 replies (of 1 total)

The topic ‘Messed up header.php site not displaying’ is closed to new replies.