Refer to WordPress Codex – The Loop. How to create layout like my current theme? Ok lets we start using Default WordPress Theme (Kubrick).
Q – Which files should we edit?
A – only index.php file.
Open your index.php and look at
Change it to be
have_posts()) : $firstpostquery->the_post(); $firstpost = $post->ID; ?> ID)) : ?>
'; else echo '
'; ?> ';?>
Full code
have_posts()) : $firstpostquery->the_post(); $firstpost = $post->ID; ?>
ID)) : ?>
'; else echo '
'; ?>
';?>
Not Found
Sorry, but you are looking for something that isn't here.
Live View – Test Run 🙂
15 replies on “The Loop and Multi Column”
nice work, but how can i fix it on Blog Oh Blog theme ?
thank you
There seems to be an error on this post, but I would be interested to hear your thoughts on a multi-column layout like the theme mentioned above.
WOW !!!!
its very useful , sure i’ll use it !!
I want to see on the index-site the newest post only. But the newest post is on page 2 on the top too. Where i can change this? Thank you for your help.
Cool site. Thanks!!!
Have there been any reports of this not rendering properly in the Safari browser
Cool. I Can’t wait for the next version of BOB 😀
Mayed,Josh,Rell @ How? I’ll release my current theme next week. couple things need to update, of course all sidebar will be drag n drop. Kool! 🙂
Hey, I was wondering the same. I would like to organize my blog like yours. I use the same theme, I just get confused on how to make the code above work for your theme. Please help or provide the code if you dont mind… thanks dude or dudette
I’m wondering the same as Mayed as I am also using the blog oh blog theme.
nice work, but how can i fix it on Blog Oh Blog theme ?
thank you
magazine style! ;p nnt aku mahu cuba bikin…
oh i guess its my fault. it must be the old version *:)
sorry. haha
flisterz @ thanks. ermm may i know your safari version? i tested on my safari (win) v3.0.2 and it look ok maa. browser lain ok kan? 🙂
wow. thanks for the full code!
this makes your site looks more professional 🙂
i was using safari just now. the demo pages does not work. the text is no visible. only entry title. maybe because of the safari(window) bug. but your site works great pulak. haha
thank you 🙂