Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Help Wrap my Head around this Concept

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27767
    silvers
    Member

    Hiya,

    I think it’s a relatively straight forward situation but i don’t understand how to do it.

    could someone please explain to me how i can send different posts to different pages like chris does?

    for example on css-tricks, you have articles page, screencasts page and snippets page.

    when i write a new post it shows up on my index page which is fine, but how do i make it show up on a different page like css-tricks does? i mean, when chris adds a new video post, it goes to the screencast page (although he also shows it on the index page cos he’s running a sweet loop).

    Thanks in advance,
    silvers

    #70156
    TheDoc
    Member

    Basically, each page is running its own loop.

    So, the index page is running a loop that is going through ALL posts.

    The Screencasts page is running a loop that goes through all posts in a specific category, in this case "Screencasts".

    This is from the Snippets section:

    Code:



    The code above would show posts ONLY from the category with an id of "5".

    #70456
    silvers
    Member

    AWESOME!

    Doc seriously, you’re really good at explaining things, and i really appreciate your help!

    you break it down to china town and i dig it!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.