jtp6687
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Home Page Only Shows 4 Recent Posts Below Main Navturns out the variable was being defined from another php and wouldn’t get bigger than 4. It’s been fixed and now works great. Thanks everyone.
Forum: Themes and Templates
In reply to: Home Page Only Shows 4 Recent Posts Below Main Navyes I have. Blog pages I have at 9. There are no ‘options’ for the theme. I can’t tell in index.php what would be restricting the numbers…here’s what it looks like:
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php $i = 0; ?>
<?php while (have_posts()) : the_post(); $i++; ?>
<div class=”span-8 post-<?php the_ID(); ?><?php if ($i == 3) { ?> last<?php } ?>”>
<h6 class=”archive-header”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title() ?></h6>
<?php
$values = get_post_custom_values(“thumbnail”);
if (isset($values[0])) {
?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php $values = get_post_custom_values(“thumbnail”); echo $values[0]; ?>” alt=”” />
<?php } ?>
<?php the_excerpt(); ?>
<p class=”postmetadata”><?php the_time(‘M d, Y’) ?> | <?php comments_popup_link(‘Have your say »’, ‘1 Comment »’, ‘% Comments »’); ?></p>
</div>
<?php if ($i == 3) { ?><div class=”archive-stack clear”></div><?php $i = 0; } ?>
<?php endwhile; ?><div class=”clear”></div>
<div class=”navigation”>
<div><?php next_posts_link(‘« Older Entries’) ?></div>
<div><?php previous_posts_link(‘Newer Entries »’) ?></div>
</div><?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn’t here.</p>
<?php include (TEMPLATEPATH . “/searchform.php”); ?><?php endif; ?>
<?php include (TEMPLATEPATH . “/bottom.php”); ?>
<?php get_footer(); ?>