WordPress.org

Forums

[resolved] Php Current posts (4 posts)

  1. obiscoito
    Member
    Posted 9 years ago #

    I looked everywhere I swear I did, I'm sure it has to be in the codex somewhere, but if someone would show me, I'd appreciate it.

    I made this: http://www.catavino.net/?page_id=81

    My goal to use it as a frontpage and in each box to put the latest 5 posts, or most recent tasting note?

    What I need to is to know how to php most recent headlines in a specific category. If I could include and excerpt that would be good for a couple of the boxes... Thanks for any help

  2. moshu
    Member
    Posted 9 years ago #

    Try the article about The_Loop in the Codex, especially the part dealing with multiple loops.

  3. obiscoito
    Member
    Posted 9 years ago #

    I'm going to keep trying to figure this out. THough I don't have enough php knowledge to feel like I can make it happen. If anyone has an example of anyone doing something like this it might help.

    Also what about a plugin? It would be neat to have a plugin that allowed people to make a static page modular. thus allowing the home page to be navigable to new comers.

    any thoughts?

  4. Joshua Sigar
    Member
    Posted 9 years ago #

    So, those 5 boxes contain Posts from 5 different categories?
    If so, here's a tutorial http://rhymedcode.net/1001-wordpression-loops/grouped-by-category/
    And the corresponding demo

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags