• I m trying to do this,
    Have one post on the main page, and then have a ‘More Posts’ link, which would take you to a page, with 10+ posts on it, ideally the general archive page, with posts from all categories, tags, months..

    any idea how to accomplish this. I know I m kind of missing something, this should be really simple… isn’t ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this – I’m assuming you want to use the latest post on the main page:

    <?php query_posts('posts_per_page=1');>
    <?php if (have_posts()) : while (have_posts()) : the_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>
    <?php the_content(); ?>
    <?php endwhile; endif; ?>

    Then link to your page with the general archive.

    Thread Starter dehog

    (@dehog)

    @codenextdoor
    what would the link to the general archive be..?

    Thread Starter dehog

    (@dehog)

    any help ?

    You would have to set up an archive page so usually it would be something like:
    https://www.yoursite.com/archives/
    for the link.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘One post on main page, more posts link ?’ is closed to new replies.