• Hello,

    Iḿ trying to increase the number of posts on my archive page while maintaining the number of five on the home page. Somehow all the solutions given don seem to work Prepost etc. Can anybody help?

    The code om my content archive page:

    <?php
    /**
    * The template part for displaying content
    *
    * @package WordPress
    * @subpackage Twenty_Sixteen
    * @since Twenty Sixteen 1.0
    */
    ?>

    <div class=”archive-post”>
    <article id=”post-<?php the_ID(25); ?>” <?php post_class(); ?>>
    <header>
    <div class=”image”>
    ” title=””>
    <?php
    if( has_post_thumbnail() ) {
    the_post_thumbnail( array( 100, 100) );
    } else {
    echo ‘<div class=”default”></div>’;
    }

    ?>

    </div>
    <div class=”content”>
    <h2 class=”title”> ” title=””><?php the_title(); ?></h2>
    <div class=”post-meta”>
    <span class=”time”><?php the_time( ‘d F, Y ‘ ); ?></span> <br> <span class=”comment”><?php comments_popup_link( ‘Geen reacties’, ‘1 reactie’, ‘% reacties’, ‘comments-link’, ‘Comments disabled’); ?></span>
    </div>
    </div>
    </header><!– /header –>
    </article><!– #post-## –>

    </div>

    What am i doing wrong here?

    Thanks in advance.

    • This topic was modified 7 years, 4 months ago by bartjansen.

    The page I need help with: [log in to see the link]

The topic ‘More posts on archive page’ is closed to new replies.