Support » Fixing WordPress » Custom Index Page

  • Hey WordPressers!

    I’ve looked around at the Codex explanations and I’m having issues finding a way to do the following:

    I’d like to have two seperate calls for posts on my main page. IE: at the top, I’d like to call 1 post in my site news category (lets say category #2), and then underneath that I’d like to call the 4 most recent posts in all categories. I see that it’s possible to limit the categories outside of the loop, but I don’t want the changes to affect the entire index page.

    This is essentially what I want to happen:

    SITE NEWS – (1 post from category#2)
    NEWEST RAMBLINGS (4 posts from all other categories)

    Hope someone can point me in the right direction – I’d greatly appreciate it! Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • anybody? please? I will love you forever.

    I am struggling to do this myself, but I think I can help.
    Check this link out.

    It’s a section on the Codex about Multiple Loops, with customization to call different posts as you describe. You’ll need to get familiar with the wordpress loop (the php that calls the posts), but that’s in the same link if you scroll up.

    Hope it helps.

    Thank-you muchly. I will see what I can do with this information. I hate so much how nothing ever works the first time. haha. I’ll probably be figuring this out for awhile but thanks so much for the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Index Page’ is closed to new replies.