WordPress.org

Ready to get started?Download WordPress

Forums

Posting posts from multiple catagories.... (5 posts)

  1. Chadwick
    Member
    Posted 8 years ago #

    I was just reading about how the loop works and how it all works, but just can't figure out how to do this:

    On my main page i want it to show a catagory that will show 5 of the posts but only excerpts. And the other two that only show titles/ or shorter excerpts.

    From what i read before it seems like this could be done but not completely sure how i would go about doing this. Help would be greatly appreaciated

  2. Michael Bishop

    Posted 8 years ago #

    Perhaps this tag would allow you to do what you want:
    http://codex.wordpress.org/Template_Tags/get_posts

  3. Chadwick
    Member
    Posted 8 years ago #

    yes exactly what i'm lookking for
    I can't belive i overlooked that...

    thanks!

  4. Chadwick
    Member
    Posted 8 years ago #

    hrmm now i'm having a probelm with this.
    If i use

    <li><a href="index.php?cat=1" title="back to the beginning">News</a></li>

    for a menu link it doesn't change the page to that catagory. how can this be fixed?

  5. Michael Bishop

    Posted 8 years ago #

    Are you using permalinks? Reason I ask is the url for my cats are http://mysite.com/blog/category/name of category

Topic Closed

This topic has been closed to new replies.

About this Topic