[resolved] HELP! Per-category article lists (2 posts)

  1. jwilliams
    Posted 10 years ago #

    On my websites frontpage, /index.php, I'd like to have a list of the five most recent articles in the "frontpage" category.

    I think I need to create a loop on this page using WP functions that live somewhere in the main /blog/ directory.

    How do I get a list of the last five articles in a category to be displayed on my website other than on the main blog page!?


  2. Kafkaesqui

    Posted 10 years ago #


    See that for how to make use of WordPress features on a non-WordPress PHP document.


    See that for how to initialize a post loop. You can use it to set only one category, # of posts, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic