• Resolved tradeweb

    (@tradeweb)


    Fatal error: Call to undefined function: get_header() in /home/public_html/wp-content/themes/bloggingpro_mt/single.php on line 1 is the error message I’m getting

    This is my header file

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title><?php if ( is_home() ) { ?><? bloginfo('name'); ?>&nbsp;<?php bloginfo('description'); } else { wp_title('&nbsp;'); ?>&nbsp;by&nbsp;<? bloginfo('name'); } ?></title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <link rel="shorcut icon" type="image/x-ico" href="<?php bloginfo('template_url'); ?>/favicon.ico" />
    <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/imghover.js"> </script>
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    </head>
    <body> 
    
    <div id="bgcontain">
    <!-- header START -->
    
    <div class="HeaderBG">
    <div class="Header">
    
    <h1><a href="<?php echo get_option('home'); ?>/"><img src="http://mydomain.com/images/mlogo-v3.gif"></a></h1><p>
    <div class="Desc"><?php bloginfo('description'); ?><p><p></div>
    
      <div class="TopMenu">
       <ul>
         <?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' . __('') . '' ); ?>
       </ul>
      </div>
    
    <div class="Search">
     <fieldset>
       <legend>Search</legend>
        <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
         <input type="text" name="s" class="keyword" />
    	 <div id="buttonsearch"><input name="submit" type="image" class="search" onmouseover="javascript:changeSty('searchIE');" onmouseout="javascript:changeSty('search');" title="Search" src="<?php bloginfo('template_url'); ?>/images/transparent.gif" alt="Search" />
    	 </div>
        </form>
      </fieldset>
    </div>
    <div class="SearchCorner"></div>
     </div>
    </div>
    <!-- header END -->
    
    <!-- container START -->
    <div class="ContainerBG">
     <div class="Container">

    Been trying for hours now but keep seem to going round in circles!

Viewing 16 replies (of 16 total)
Viewing 16 replies (of 16 total)

The topic ‘call to undefined function: get_header’ is closed to new replies.