• hi everyone..

    i need help to make my post in 2 columns.. does anyone had done this before..

    im using this code to show my post

    <div id="content_news_header">
    	<div class="h1"><?php echo date('F jS, Y'); ?></div>
    </div>
    <div id="category_content">
                        <a href="#"><div id="cat_header">FASHION</div></a>
                        <div id="cat_content">
    					<?php
                         $rando_posts = get_posts('numberposts=20&amp;cat=6&amp;column=2');
                         foreach( $rando_posts as $post ) :
    					 setup_postdata($post);
    					 ?>
                             <div id="news_storytitle">
    							<div class="h2">
    							<?php the_time('F j, Y') ?></div><span class="h5"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span>
                                </div>
                            <div class="news_storycontent">
    						<?php the_excerpt('Read more..'); ?>
                            </div>
                         <?php endforeach; ?>
    					</div>
    </div>

    because i want to make 20 post/page (10 posts in left column and 10post in right column)

    any help would be greatttttt!!!

    thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 columns posts (side by side)’ is closed to new replies.