• spiritbased

    (@spiritbased)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • katgirl

    (@katgirl)

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

    https://codex.www.ads-software.com/Template_Tags

    Thread Starter spiritbased

    (@spiritbased)

    KatGirl,

    Thanks, but I need a real “from scratch” explanation.

    The closest I’ve seen to what I want is https://dfckr.com

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

    katgirl

    (@katgirl)

    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.
    https://codex.www.ads-software.com/WordPress_Lessons

    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.

    Thread Starter spiritbased

    (@spiritbased)

    KatGirl,

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

    Thanks for your patience.

    Gary

    wibu

    (@wibu)

    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 https://codex.www.ads-software.com/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).

    Thread Starter spiritbased

    (@spiritbased)

    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…

    https://dfckr.com

    ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple loops – newbie needs help’ is closed to new replies.