Hola amigos, pues espero que alguien pueda ayudarme, tengo este loop que me muestra los 10 post más recientes en una columna, pero quiero que los muestre en
dos columnas, empezando por el más reciente, y a su lado(columna derecha) el segundo más reciente y así sucesivamente, osea el más viejo quedaría hasta abajo en la columna derecha.
Alguien por aquí que pudiera echarme una mano..........
Código PHP:
<div id="post-entry">
<?php $postcount = 1; ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post-meta" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="post-author">
<?php _e('Publicado el'); ?> <?php the_time('l j F Y') ?><?php edit_post_link('editar'); ?>
</div>
<?php include (TEMPLATEPATH . '/social.php'); ?>
<?php if(function_exists('the_ratings')){ ?>
<?php the_ratings(); ?>
<?php } ?>
<?php $thumbnail = get_post_meta($post->ID, "miniatura", true);
if ($thumb = "") { } else {?>
<div class="miniatura" style="border-radius: 10px;-webkit-border-radius: 10px;-moz-border-radius: 10px;">
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img width="150px" height="150px" src="<?php $values = get_post_custom_values("miniatura"); echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a>
</div>
<?php } ?>
<div class="post-content">
<?php the_excerpt(); ?>
</div>
<!--Sociales-->
<div id="sociales">
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.xxxxx.com&send=false&layout=button_count&width=150&show_faces=true&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>
</div>