• I am attempting to modify my Archives page. However, I am stuck.

    I basically want to use the WP Categories and Posts plugin to list each my categories with ALL the posts under that. I am almost there. The page currently looks like this.

    The PHP code that drives this in in the Archives.php file. It now looks like this:

    <?php
    /*
    Template Name: Archives
    */
    ?>
    
    <?php get_header(); ?>
    
        <?php if (function_exists('ronalfy_list_categories_and_posts')) { ?>
           <div class="posts-list">
           <h1>Archives</h1>
           <?php ronalfy_list_categories_and_posts(); ?>
           </div>
        <?php } ?>
    
    <?php get_footer(); ?>

    What do I need to do to modify this so that it displays ALL my posts under each category? Right now it is defaulting to the last 3 posts.

The topic ‘WP Categories and Posts’ is closed to new replies.