spiritbased
Member
Posted 5 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.
KatGirl
Member
Posted 5 years ago #
For your Categories, archives, etc you'll need to read this link and pick what you want.
http://codex.wordpress.org/Template_Tags
spiritbased
Member
Posted 5 years ago #
KatGirl,
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.
KatGirl
Member
Posted 5 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.
http://codex.wordpress.org/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.
spiritbased
Member
Posted 5 years ago #
KatGirl,
Thanks again. I guess I need to learn to crawl before I walk!
Thanks for your patience.
Gary
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).
spiritbased
Member
Posted 5 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...
http://dfckr.com
?