Buongiorno,
il mio tema usa questo codice per mostrare i post:
<?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; ?>
Con questo vengono mostrati in colonna 9 post della categoria 46.
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 per l’attenzione e auguri !`