sarahlaw
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Fixing WordPress
In reply to: “Recent Posts” widget/box not showing up on index page?Hi, I’m sorry about pushing this along, but can anyone help?
Thanks.
Forum: Fixing WordPress
In reply to: most recent post not showingI’ve done that and it works perfectly – thanks so much for the help.
Such a small thing makes a BIG difference!
Cheers.
Forum: Fixing WordPress
In reply to: most recent post not showingFrom the index.php file:
<?php query_posts('showposts=10&offset=1'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
Thanks for looking into this for me. All help is much appreciated ??
Forum: Themes and Templates
In reply to: trouble aligning post titlesThanks 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.
Forum: Themes and Templates
In reply to: trouble aligning post titlesHey,
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 »'); ?> </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)