Need Help with header.php
-
I have created a header.php with contents. Exclided the Mhead> section as its pretty standard.
<body> <div id="wrap"> <div id="header"> <div class="headerleft"> <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1> </div> <div class="headerright"> <p><script src="<?php bloginfo('template_url'); ?>/js/date.js" type="text/javascript"></script></p> <b>Search:</b> <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="s" id="s" /> <input type="submit" id="sbutt" value="GO" /></form> </div> </div> <div id="navbar"> <div id="navbarleft"> <ul id="nav"> <li><a href="<?php echo get_settings('home'); ?>">Home</a></li> <?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?> </ul> </div> <div id="navbarright"> <a href="<?php bloginfo('rss_url'); ?>"><img style="vertical-align:middle" src="<?php bloginfo('template_url'); ?>/images/rss.gif" alt="Subscribe to <?php bloginfo('name'); ?>" /></a><a href="<?php bloginfo('rss_url'); ?>">Subscribe</a> </div> </div> <div style="clear:both;"></div> <div id="headwrap"> <div class="pgpic"> <img src="images/pc.gif" /> </div><!-- CLOSE PGPIC --> <div class="flash"><script type="text/javascript"> var so = new SWFObject("rotator.swf", "sotester", "583", "183", "8", "#ffffff"); so.write("flash"); </script></div> <!-- CLOSE FLASH --> </div> <!-- CLOSE HEADWRAP --> <div style="clear:both;"></div>
But when I run this, the
<div id="headwrap">
and its sub-divs<div class="pgpic">
and<div class="flash">
do not show up.Would be great if anyone could help me out.
- The topic ‘Need Help with header.php’ is closed to new replies.