WordPress.org

Forums

[resolved] Displaying posts by category in separate sections (4 posts)

  1. backpages
    Member
    Posted 6 years ago #

    I need to build a blog that has three separate sections on the "home" page. For instance, a jazz, a folk and a rock section. Posts would be given a specific category. Then the posts would display on the page in the section for which they have been coded. I'm assuming this is possible, that it would simply require writing the PHP code on the home page to look for the category information in a post and then pull it into the proper section. Just wondering if anyone has any experience with this or could point me in the right direction, maybe a tutorial or an example or something. Thanks for any help!

  2. Xamataca
    Member
    Posted 6 years ago #

  3. backpages
    Member
    Posted 6 years ago #

    Perfect! Thanks so much.

  4. Taira
    Member
    Posted 6 years ago #

    Hi,

    I'm trying to do the same thing, display the posts from different categories in different areas of the homepage. I looked at the link provided but I'm still unclear.

    I was wondering if you could share with me the piece of code you used to do this? In other words the piece of code to say 'display posts from category X here'.

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Topic