Support » Fixing WordPress » Making a overview page of posts

  • Hi,

    I’m working with a website for two magazines and we publish many of their articles on the site. The articles is sorted into parent categories (which of the two magazines the article is coming from) and in sub categories (which issue the articles is coming from).

    Now I want to make a page with an overview of all the articles from one of the magazines, sorted by issue, that automatically ads new articles to the list when they’re added to the system. So I need to get all the articles from one parent category, display the title of the sub category and then a list of the posts from that sub category (URL and title), and then the same thing for the next sub category until there’s no sub category left.

    My plan is to make it look something like this:

    <h1>Title of the latest issue (sub category)</h1>
    <ul>
    <li><a href=”ULR to post 1”>Title of post 1</a></li>
    <li><a href=”ULR to post 2”>Title of post 2</a></li>
    <li><a href=”ULR to post 3”>Title of post 3</a></li>
    <li><a href=”ULR to post 4”>Title of post 4</a></li>
    </ul>
    <h1>Title of the second latest issue (sub category)</h1>
    <ul>
    <li><a href=”ULR to post 1”>Title of post 1</a></li>
    <li><a href=”ULR to post 2”>Title of post 2</a></li>
    <li><a href=”ULR to post 3”>Title of post 3</a></li>
    <li><a href=”ULR to post 4”>Title of post 4</a></li>
    </ul>
    <h1>Title of the third latest issue (sub category)</h1>
    <ul>
    <li><a href=”ULR to post 1”>Title of post 1</a></li>…
    
    And so on...

    Is there anyone that can help me with that?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making a overview page of posts’ is closed to new replies.