• I want to put in my WP frontpage a little list with the title or excerpt from the last post on a category. I mean something like this example:

    Latest posts:
    On personal -> “title”
    On humor -> “title”
    On Art -> “excerpt”
    On music -> “title”

    I don?′t know how to make that. If someone understand what I trying to do, please help me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should be able to do something like that using Template_Tags/get_posts I’m assuming you want it in your sidebar or someting like that. I’m sure using multiple loops and query_post you could construct something similar as well. maybe a little more detail, and we could narrow down a solution.

    Thread Starter madcore

    (@madcore)

    I tried the get_post method, but don?′t work at all. With that method I can make the list in the way I say before, but I don?′t want it on the sidebar. I trying to put that list (an another ones) above the main loop, and it shows in the main loop on the index de latest post for the latest category I defined in get_post, not the posts in the default category. I try to modify a little the main loop code to force it to show only the default category (and childrens of this category), and keep the lists working. If I can acomplish that, I tell you.

    Thanks for the help.

    Thread Starter madcore

    (@madcore)

    Finally works well ^^. I can make exactly that I want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lasts titles or excerpts from each category’ is closed to new replies.