I have original code that displays posts one by one. But I would like to display post in grid 3 columns wide and few rows height. I use magazine basic theme.
<?php get_header(); ?>
<h1 class="catheader">
<?php single_cat_title(); ?>
</h1>
<?php $catdesc = category_description(); if(stristr($catdesc,'<p>')) { echo '<div class="catdesc">'.$catdesc.'</div>'; } ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="posts">
<h2><a href="<?php the_permalink() ?>" title="Click to read <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="meta">
<?php if(get_option('uwc_dates_cats') == 'on') { echo '<div class="date">'; the_time("l, F j, Y"); echo '</div>'; } ?>
<?php if(get_option('uwc_authors_cats') == 'on') { echo 'By '; the_author(); } ?>
</div>
<?php resize(80,80); ?>
<?php theme_excerpt('55'); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Starejše objave') ?></div>
<div class="alignright"><?php previous_posts_link('Novejše objave »') ?></div>
</div>
<?php else : ?>
<h2>Not Found</h2>
<div>
Sorry, but you are looking for something that isn't here.
</div>
<?php endif; ?>
<?php get_footer(); ?>