• .
  • .
  • .
  • .
  • .
  • .
  • .
  • .
Wix.com
Aug
25

The Loop and Multi Column

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; ?>

'; else echo '

'; ?>

';?>

Not Found

Sorry, but you are looking for something that isn't here.

Live View – Test Run :)

This post was viewed 18,083 times

14 Comments to “The Loop and Multi Column” | Leave a Comment!

  1. Jake says:

    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.

  2. WOW !!!!

    its very useful , sure i’ll use it !!

  3. Thomas says:

    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.

  4. Billy Dennis says:

    Have there been any reports of this not rendering properly in the Safari browser

  5. KiwiPulse says:

    Cool. I Can’t wait for the next version of BOB :D

  6. Bob says:

    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! :)

  7. Rell says:

    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

  8. Josh says:

    I’m wondering the same as Mayed as I am also using the blog oh blog theme.

  9. Mayed says:

    nice work, but how can i fix it on Blog Oh Blog theme ?

    thank you

  10. mohdismail says:

    magazine style! ;p nnt aku mahu cuba bikin…

  11. flisterz says:

    oh i guess its my fault. it must be the old version *:)
    sorry. haha

  12. Bob says:

    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? :)

  13. flisterz says:

    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 :)


Websites that Link to this Post

  1. Beat the Bookstore
  2. All Rss Feed » Blog Archive » The Loop and Multi Column

Leave a comment

Search :
Browse :
Archive :

$$$ Make Money $$$

Become an Affiliate

Welcome to Blog Oh! Blog's affiliate program! I personally invite you to make money by selling all of Blog Oh! Blog's Premium themes.

You will get a whopping 25% share on each sale generated through your affiliate link.

All you need to do is sign up as Blog Oh! Blog's affiliate, choose a banner, paste it on your website or blog and wait for sales to happen. It's as simple as that!

All affiliates will be paid on 10th of every month. Your affiliate earning needs to be a minimum $50 to get paid for each month.

Here is the sign up link and here are some banners to get you started!