• casparm

    (@casparm)


    Hi!

    I want to show the titles of all my posts in the archive section. I’ve tried this:

    <?php if (have_posts()) : ?>

    <?php /* If this is a category archive */ if (is_category()) { ?>

    <?php } ?>

    <ul>
    <?php while (have_posts()) : the_post(); ?>
    <li>

    <a href="<?php the_permalink() ?>"><?php the_title(); ?></a> - <?php the_time('j.m.y') ?>
    </li>

    <?php endwhile; ?>
    </ul>

    <?php next_posts_link('&laquo; Previous Entries') ?> |
    <?php previous_posts_link('Next Entries &raquo;') ?>

    <?php else : ?>

    <h1>Not Found</h1>

    <?php endif; ?>

Viewing 1 replies (of 1 total)
  • Thread Starter casparm

    (@casparm)

    The bottom part of my post fell out…

    Anyone know how to get all Titles into the archive with no “next” and “previous” links?

    Best regards
    Caspar

Viewing 1 replies (of 1 total)
  • The topic ‘Show all titles ever written in Archive?’ is closed to new replies.