Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sarahlaw

    (@sarahlaw)

    Hi, I’m sorry about pushing this along, but can anyone help?

    Thanks.

    Thread Starter sarahlaw

    (@sarahlaw)

    I’ve done that and it works perfectly – thanks so much for the help.

    Such a small thing makes a BIG difference!

    Cheers.

    Thread Starter sarahlaw

    (@sarahlaw)

    From the index.php file:

    <?php query_posts('showposts=10&amp;offset=1'); ?>
        <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>

    Thanks for looking into this for me. All help is much appreciated ??

    Thread Starter sarahlaw

    (@sarahlaw)

    Thanks so much, in the time I’ve just gone and found the problem – it was in showposts.php, in a very sneaky place I wouldn’t have noticed otherwise.

    Cheers.

    Thread Starter sarahlaw

    (@sarahlaw)

    Hey,

    If you have a look at the php code below, it’s already set out with nothing in “top” (in single.php), which is why I’m wondering why it’s not working.

    Any ideas?

    <?php get_header(); ?>
    
    <!-- Start of Two Column Fixed Body -->
     <div id="main">
    	<div id="right">
    	    <?php
    		if (have_posts())
    		{
    	        while (have_posts())
    		{
    		the_post();
    		?>
    <div id="page-<?php echo the_ID();?>" class="<?php echo $alternate;?>">
    <div class="back">
    <div class="top">
    <div class="bottom">
    <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    <p class="categor"><strong>Posted:</strong> <?php the_time('F jS, Y') ?> under <?php the_category(', ') ?>.
    <?php the_tags('Tags: ', ', ',''); ?><?php edit_post_link('[e]',' | ',''); ?>
    
    <!--
    
    <h4><a href="<?php the_author_url(); ?>"><?php the_author() ?></a> at <?php the_date() ?> : <?php the_time() ?>  <?php edit_post_link(__('Edit This')); ?></h4>
    
    -->
    
    <?php if ( get_post_meta($post->ID, 'heading', true) )
    {
    ?>
    
    <h4><?php echo get_post_meta($post->ID, "heading", $single = true); ?></h4>
    
    <?php
    }
    ?>
    
    <div class="post-body">
    
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    
    </div>
    
    <div id="comment">
    
    <?php comments_template(); ?>
    
    </div>
    </div>
    <?php
    
    }
    ?>
    
    <?php
    }else{
    // No Post Found
    ?>
    
    <div id="errobox" style="padding-left:10px">
    <h2 class="center">404 Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.
    
    </div>	
    
    <?php
    }
    ?>
    </div>
    </div>
    </div>
    </div><!-- End of Column Left -->
    
    	<div id="left">
              <?php get_sidebar(); ?>
    	</div><!-- End of Column Right -->
    	<div style="clear:both"></div>
    </div>
    <!-- End of Two Column Fixed Body -->
    
    <?php get_footer(); ?>
Viewing 5 replies - 1 through 5 (of 5 total)