Buonasera e auguri a tutti,
ho una query del genere con wordpress
Con questo vengono mostrati in una colonna 9 post della categoria 46.<?php $recent = new WP_Query("cat=46&showposts=9"); while($recent->have_posts()) : $recent->the_post();?>
<h2>" rel="bookmark"><?php the_title(); ?></h2>
<?php the_content(__('Read the story �'));?><div style="clear:both;"></div>
<?php endwhile; ?>
Ma se volessi dividere i risultati in colonne esempio:
colonna 1: post 1 2 3
colonna 2: post 4 5 6
colonna 3: post 7 8 9
Come posso fare ?
Grazie !