Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

footer issues.. again...

Discussion in 'Website Design Forum:' started by chrismitchell, Sep 7, 2010.

  1. Can anyone see why my footer wouldn't be showing?

    <?php/** * @package WordPress * @subpackage Default_Theme */?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""><html xmlns="" <?php language_attributes(); ?>><head profile=""><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title><link href="" rel="stylesheet" type="text/css" media="screen" /><link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /><link rel="Shortcut Icon" href="" /><?php wp_head(); ?><script type="text/javascript" src=""></script><script type="text/javascript">  var _gaq = _gaq || [];  _gaq.push(['_setAccount', 'UA-9617644-1']);  _gaq.push(['_trackPageview']);  (function() {    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  })();</script><script type="text/javascript" src=""></script><script type="text/javascript" src=""></script></head><body><div id="header"></div>    <div id="main">    	<div id="logo" onclick="location.href='';" style="cursor:pointer;"></div>        <div id="quotebutton" onclick="location.href='';" style="curson:pointer;"></div>        <div id="contactmenu">        <ul>        	<li><a href=" Widdlerswee Creative, Lets Talk!"></a></li>        	<li><a href="">@widdlerswee</a></li>        </ul>        </div>		<div id="menu">        	<ul>     			<li><a href="">web design</a> |</li>     			<li><a href="">print design</a> |</li>     			<li><a href="">portfolio</a> |</li>     			<li><a href="">blog</a> |</li>     			<li><a href="">lets talk</a></li>     		</ul>          	</div><div id="menubottom"></div><?php get_header(); ?><div id="container"><div id="latestproject"><div id="latestprojecttitle">Latest Project</div></div><div id="section2"><div id="twitter"><div id="twitterbubble"><div id="followtext"><?php twitter_messages("widdlerswee"); ?></div></div><div id="follow">Follow <a href="">@widdlerswee</a> on twitter</div></div><div id="blog">	<h2>blog</h2><?php query_posts('category_name=blog&posts_per_page=1'); ?>	<?php while (have_posts()) : the_post(); ?>	<strong><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></strong>	<br>	<?php the_excerpt(); ?><?php endwhile; ?></div><br/> 		<?php get_footer(); ?><?php wp_footer(); ?><div id="footer"><div id="footerleft"><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('FooterLeft') ) : ?><br />Copyright © 2010 <a href="">WiddlersWee Creative</a></div><div id="footerright">                  <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('FooterRight') ) : ?></div></div></body></html>
    for some reason or another its just not showing the <?php get_footer(); ?> at all which is very weird.
  2. hmmm strange.. not even any words of wisdom from Harry :p :lol:
  3. Harry

    Harry Senior Member

    What exactly is the problem? Got a live link?
  4. Harry

    Harry Senior Member

    I tend not to use the get_footer bollocks that WP offers, because their code is absolutely disgusting.

    I opt for just including the files instead, works every time for me.
  5. here's the link mate:

    just seems so odd that the footer isn't loading .. just tried the wp include function instead and it still isn't working...
  6. Also for some reason my SEO thingy is making it say Blog on my title instead of Welcome... which makes me think i've done something very VERY wrong :eek:
  7. found out I was missing some <?php endif; ?> statements LOL D'oh!
  8. Harry

    Harry Senior Member

    Sorry, forgot to check back. Were they jusy PHP errors then?

    I hate that WP uses the endif syntax—makes much less sense to me than a }
  9. yeah it was just the endif syntax was missing from one call (which I thought I had already ended elsewhere) which threw out the whole footer..

    All I want to do is update my portfolio site :) :lol: its not too much to ask LOL

Share This Page