Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter jmd4eva

    (@jmd4eva)

    nope, its still not in the right place….

    EDIT: i’ve managed to get the footer down properly now (just by adding an extra </div> at the end of sidebar.php!)

    so now its just the sidebar..

    But it solved most of your validation errors, so we’ll try to fix the others as well and see if that helps.

    Could you also post your footer.php between backticks?

    Thread Starter jmd4eva

    (@jmd4eva)

    </div>

    <div id="footer">
    Β© James Doman - <a href="http://www.jdoman.com/blog/about/site">About the site</a.
    </div></div>
    </body>
    </html>

    Replace it with (you were missing a >):

    </div>

    <div id="footer">
    &copy; James Doman - <a href="http://www.jdoman.com/blog/about/site">About the site</a>.
    </div>
    </body>
    </html>

    Thread Starter jmd4eva

    (@jmd4eva)

    ok, done that

    it still doesn’t look like its changed

    We’re getting there. We’re down to just 2 validation errors, which I think are in either header.php or index.php, so if you could post those ones as well, again between backticks.

    Thread Starter jmd4eva

    (@jmd4eva)

    HEADER:

    <!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 profile="http://gmpg.org/xfn/11"&gt;
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <!--[if lt IE 7.]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->

    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/scriptaculous.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/combo.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/lightbox.js"></script>

    <?php wp_head(); ?>
    </head>
    <body>
    <div id="shelf" style="display: none;">
    <div id="shelfwrap">
    <div id="shelfcontent">
    <a href="/blog/portfolio/web">Web</a> | <a href="/blog/portfolio/print">Print</a> | <a href="/blog/portfolio/marketing">Marketing</a> | <a href="/blog/portfolio/cid">Corporate ID</a> | <a href="/blog/portfolio" >[client list]</a>
    </div>
    </div>
    </div>
    <div id="wrap">
    <div id="header"><h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <p class="description"><?php bloginfo('description'); ?></p>
    </div>

    INDEX.PHP:

    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) :?>
    <?php $postCount=0; ?>
    <?php while (have_posts()) : the_post();?>
    <?php $postCount++;?>
    <div class="entry" <?php echo $postCount ;?>">
    <div class="entrytitle">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    </div>
    <div class="entrybody">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>

    </div>
    <div class="commentsblock">
    <?php comments_template(); ?>
    </div>
    <?php endwhile; ?>
    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>

    <?php else : ?>

    <h2>Not Found</h2>
    <div class="entrybody">Sorry, but you are looking for something that isn't here.</div>

    <?php endif; ?>
    </div>
    <?php get_sidebar() ?>
    <?php get_footer(); ?>

    Thread Starter jmd4eva

    (@jmd4eva)

    its valid.

    but its still not workinggg

    Header looks ok. Index contained a bogus </div> and a ; was missing. I also made a small error in the footer.php above, so I’ve updated that post. So if you could also replace that one again?

    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) :?>
    <?php $postCount=0; ?>
    <?php while (have_posts()) : the_post();?>
    <?php $postCount++;?>
    <div class="entry" <?php echo $postCount ;?>">
    <div class="entrytitle">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    </div>
    <div class="entrybody">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>

    <div class="commentsblock">
    <?php comments_template(); ?>
    </div>
    <?php endwhile; ?>
    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>

    <?php else : ?>

    <h2>Not Found</h2>
    <div class="entrybody">Sorry, but you are looking for something that isn't here.</div>

    <?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thread Starter jmd4eva

    (@jmd4eva)

    wheyyyyyy its all valid

    but still no menu in the right place πŸ™

    Thread Starter jmd4eva

    (@jmd4eva)

    ive uploaded teh original stylesheet as well, just in case it was that. but its still not working.

    EDIT: well it wasnt the stylesheet, have reloaded my one

    Thread Starter jmd4eva

    (@jmd4eva)

    could it be that theres not a </div> needed in the content bit thats making the sidebar be included in that?

    Yes, I think it’s a problem with the div’s somewhere. I’ve been doing some experimenting on this side to see if I can find which one, but so far no luck.

    Thread Starter jmd4eva

    (@jmd4eva)

    i tried putting the get sidebar after get_header and it seems to have worked, except the footer is now under the content and not right..

    Thread Starter jmd4eva

    (@jmd4eva)

    and there are now more errors

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Sidebar below content number of comments and comment box etc not showing’ is closed to new replies.