WordPress.org

Ready to get started?Download WordPress

Forums

Homepage with categories and the most recent 5 posts (2 posts)

  1. FarmCoder
    Member
    Posted 8 years ago #

    Heloo,

    I'm trying to build a website with a CMS feel using wordpress. I would like to have the frontpage list the categories, and under each category show the 5 most recent post titles of that category. Is this possible under wordpress?

    Essentially, how do I call out an individual category, and then how do I call out the 5 most recent post titles of that category?

    Any help would be appreciated, I went through the template tags in the codex, but they are far too confusing for me.

  2. TechGnome
    Moderator
    Posted 8 years ago #

    Try these links from the Codex, they should be of some help.

    Basicaly what you will need to do is run multiple loops, one for each category, and set your display options to show the last 5 posts.

    http://codex.wordpress.org/The_Loop
    http://codex.wordpress.org/The_Loop_in_Action

    -tg

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.