Ready to get started?Download WordPress


list posts from category within a post (2 posts)

  1. lemongris
    Posted 3 years ago #

    On the single.php page I want to list posts from the same category as the post itself.

    If <?php the_category(' '); ?> is applied the category name is displayed, but what if I wanted the actual posts from the category?

  2. vtxyzzy
    Posted 3 years ago #

    You will need to code a second loop to retrieve the posts. Do a Google search on 'wordpress multiple loops' for examples and tutorials.

Topic Closed

This topic has been closed to new replies.

About this Topic