PreviousPauseNext
Latest Free WordPress Themes | More Free Themes
Digital Statement WordPress Theme
Digital Statement

Post Slideshow
Content Tabs
Widgetized
Twitter Ready
Flickr Ready

Demo
Download
Latest Free WordPress Themes | More Free Themes
Angel WordPress Theme
Angel

Light Colored
Valid CSS/XHTML
Widgetized
Unique Layout
Styled Comments
DOM Tabs

Demo
Download
Latest Free WordPress Themes | More Free Themes
Portfolio WordPress Theme
Portfolio Press

Dark Colored
Valid CSS/XHTML
Widgetized
Unique Layout
Styled Comments
Neat Code

Demo
Download
Latest Free WordPress Themes | More Free Themes
DailyPress WordPress Theme
DailyPress

Minimalistic Theme
125x125 Ad Space
Widgets Ready
Social Tagging
Tabbed Sidebar
XHTML Compliant

Demo
Download
Latest Free WordPress Themes | More Free Themes
Firebug WordPress Theme
Firebug

Colorful Theme
125x125 Ad Space
Widgets Ready
Social Tagging
Gravatar Ready
XHTML Compliant

Demo
Download
Latest Free WordPress Themes | More Free Themes
Gridblog WordPress Theme
Gridblog

Minimalistic Design
WP Gallery Ready
Gravatar Ready
Grid Based
Widget Ready
XHTML Compliant

Demo
Download
Latest Free WordPress Themes | More Free Themes
Blue Weed WordPress Theme
Blue Weed

WP 2.5 Gallery Compatible
Adsense Ready
Gravatar Ready
3-Columns
Widget Ready
Logo PSD

Demo
Download
Latest Free WordPress Themes | More Free Themes
AdsPress WordPress Theme
AdsPress

WP 2.5 Gallery Compatible
Adsense Ready
Gravatar Ready
2-Columns
Widget-Ready
Logo PSD

Demo
Download
Latest Free WordPress Themes | More Free Themes
Statement WordPress Theme
Statement

WP 2.5 Gallery Compatible
Quick Tabs
100% Width
3-Columns
Widget-Ready
Logo PSD

Demo
Download
Latest Free WordPress Themes | More Free Themes
Tutorials WordPress Theme
Tutorial Theme

Tutorials Feature
Thumbnails
Bright colors
3-Columns
Widget-Ready
XHTML Compliant

Demo
Download

The Loop and Multi Column

Written by Jai on August 25, 2007 – 6:17 am - 6,081 views

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


<!--text here-->

<!--text here-->

<!--text here-->

Change it to be


have_posts()) : $firstpostquery-&gt;the_post(); $firstpost = $post-&gt;ID; ?&gt;

<!--text here-->

ID)) : ?&gt;

‘; else echo ‘

‘; ?> ‘;?>

Full code


have_posts()) : $firstpostquery->the_post(); $firstpost = $post->ID; ?>


14 Responses to “The Loop and Multi Column”

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


    Reply to this comment

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


    Reply to this comment

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


    Reply to this comment

  4. magazine style! ;p nnt aku mahu cuba bikin…


    Reply to this comment

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

    thank you


    Reply to this comment

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


    Reply to this comment

  7. 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


    Reply to this comment

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


    Reply to this comment

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


    Reply to this comment

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


    Reply to this comment

  11. Cool site. Thanks!!!


    Reply to this comment

  12. 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.


    Reply to this comment

  13. WOW !!!!

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


    Reply to this comment

  1. 1 Trackback(s)

  2. All Rss Feed » Blog Archive » The Loop and Multi Column

Post a Comment