poosk,
Should be able to do this by going to Settings/Reading and changing the “Blog pages show at most” figure.
Thread Starter
poosk
(@poosk)
nope doesn’t work.. I already tried that and it has no effect. The trouble apparently is on my 3column template file and especially on the left sidebar. This took me a while to notice but if I remove the following include leftbar code from index.php it displays the right amount of posts..
do you think php include somehow messes up something?
<?php get_header(); ?>
<div id="content_box">
<?php include (TEMPLATEPATH . '/l_sidebar.php'); ?>
<div id="content" class="posts">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
Thread Starter
poosk
(@poosk)
OK I tracked it down to my left bar.. Basically this is the part that crashes the system:
<li class="widget">
<h2> Latest</h2>
<ul>
<?php query_posts('showposts=10'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a><span class="recent_date"><?php the_time('n.j') ?></span></li>
<?php endwhile; endif; ?>
</ul>
</li>
I’d really love to have it there though.. Any ideas whats wrong with that?
See instructions on using multiple loops or just use wp_get_archives in the sidebar:
<ul>
<?php wp_get_archives('type=postbypost&limit=10'); ?>
</ul>