Are you quite sure you’re editing the archive.php for the active theme? Also, the line below that, the one with a link to the full post in single page glory, will still be there if you don’t comment it out, and may be leading you astray.
Thread Starter
shaky
(@shaky)
Erm, OK, I seem to have been lying! Seems to be working now. Maybe cached. I don’t see the line below that you mention. only:
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time('l, F jS, Y') ?></small>
<div class="entry">
<?php the_content('','1','') ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
Thread Starter
shaky
(@shaky)
Also, it doesn’t show the entire month or category archive. Just a few posts. How do I get it to show the entire archive?
Thanks
Thread Starter
shaky
(@shaky)
Actually quite like the showing of just a few, but then when it gets to the end of the posts and you click on ‘previous entries’ you get a 404 error
Either you worked it out for yourself, or I’m looking at the wrong site, but I get no 404 errors when clicking “previous” or “newer”.
Thread Starter
shaky
(@shaky)
Thread Starter
shaky
(@shaky)
Also, that page isn’t showing the image that is in that one post.
You shouldn’t have an active ‘previous entries’ link on that page at all. Check your source. This is all you should have:
<div class="navigation">
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
</div>
You seem to have more links showing up than that.
Don’t know why the pic isn’t showing up, but if you can get to the bottom of the other error, it may cure this as well.
Thread Starter
shaky
(@shaky)
That is all I have. Haven’t changed the default at all.