Multiple loops - newbie needs help (7 posts)

  1. spiritbased
    Posted 8 years ago #

    Hi there,

    I'd like to have three columns on my main page;

    first column - featured post (with image)
    second column - other posts (text only)
    third column - categories, archive, etc

    Thing is, I'm a bit confused about what code I need to tweak, and where to find it.

    Please bear in mind I'm a PHP virgin. My HTML is passable and my CSS okay.

  2. KatGirl
    Posted 8 years ago #

    For your Categories, archives, etc you'll need to read this link and pick what you want.


  3. spiritbased
    Posted 8 years ago #


    Thanks, but I need a real "from scratch" explanation.

    The closest I've seen to what I want is http://dfckr.com

    where there's a featured post, a list of other posts, and a third column where I'd have my other stuff.

  4. KatGirl
    Posted 8 years ago #

    Did you look at the link I provided? Because what you're asking is available in those tags.

    Also, I STRONGLY recommend that you read this, too.

    This is NOT a fob off. If you need a "from scratch" explaination, you'll need to read this first because what information we give you (re: above) you won't understand, which clearly you didn't, and this will help you understand what the tags are called, what they render and where to put them.

  5. spiritbased
    Posted 8 years ago #


    Thanks again. I guess I need to learn to crawl before I walk!

    Thanks for your patience.


  6. WiBu
    Posted 8 years ago #

    Yesterday I was in the same position as you, my html/css is quite good but my php doesn't exist beyond simple changes to existing code.

    I found this http://codex.wordpress.org/The_Loop#Multiple_Loops_Example_1 extremely useful and it basicly details what you are looking for in the 3rd pratical example (I think it's the third).

  7. spiritbased
    Posted 8 years ago #

    The section called "multiple loops in action" on the page you linked describes exactly what I'm trying to do - I just don't know where I'm meant to put the code!

    WiBu - did you see the example I posted...



Topic Closed

This topic has been closed to new replies.

About this Topic