Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/10/2010, 14:03
Roberikom
 
Fecha de Ingreso: septiembre-2005
Mensajes: 21
Antigüedad: 18 años, 8 meses
Puntos: 0
Respuesta: Modificar Portada

Esto es lo que hice, pero no me resulto =(

Código:
<?php get_header(); ?>


<div id="content">

<?php include (TEMPLATEPATH . '/slide.php'); ?>

<div id="fila1">
<div id="fila2">
<div id="fila3">
     
<div id="columna1">

<?php query_posts('cat=7'); ?>

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="single" id="post-<?php the_ID(); ?>">

<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="date"></span> <span class="clock"> Fecha Publicación: <?php the_time('j - F - Y'); ?></span></div>	
</div>

<div class="cover">
<div class="entry">
	<?php the_excerpt(); ?> 
<div class="clear"></div>

</div>
</div>
<div class="singleinfo">

<span class="category"> Categoría(s): <?php the_category(', '); ?> </span>

</div>


</div>

<?php endwhile; ?>						
     </div>

     <div id="columna2">

<?php query_posts('cat=6'); ?>

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="single" id="post-<?php the_ID(); ?>">

<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="date"></span> <span class="clock"> Fecha Publicación: <?php the_time('j - F - Y'); ?></span></div>	
</div>

<div class="cover">
<div class="entry">
	<?php the_excerpt(); ?> 
<div class="clear"></div>

</div>
</div>
<div class="singleinfo">

<span class="category"> Categoría(s): <?php the_category(', '); ?> </span>

</div>


</div>

<?php endwhile; ?>


     </div>
     <div id="columna3">

<?php query_posts('cat=8'); ?>

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="single" id="post-<?php the_ID(); ?>">

<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="date"></span> <span class="clock"> Fecha Publicación: <?php the_time('j - F - Y'); ?></span></div>	
</div>

<div class="cover">
<div class="entry">
	<?php the_excerpt(); ?> 
<div class="clear"></div>

</div>
</div>
<div class="singleinfo">

<span class="category"> Categoría(s): <?php the_category(', '); ?> </span>

</div>


</div>

<?php endwhile; ?>     </div>
</div>
</div>
</div>

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="single" id="post-<?php the_ID(); ?>">

<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="date"></span> <span class="clock"> Fecha Publicación: <?php the_time('j - F - Y'); ?></span></div>	
</div>

<div class="cover">
<div class="entry">
	<?php the_excerpt(); ?> 
<div class="clear"></div>

</div>
</div>

<div class="singleinfo">

<span class="category"> Categoría(s): <?php the_category(', '); ?> </span>

</div>


</div>

<?php endwhile; ?>
		
		<div class="clear"></div>




 <div id="navigation">
  <?php if(function_exists('wp_pagenavi')) : ?>
        <?php wp_pagenavi() ?>
 	   <?php else : ?>
        <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','arclite')) ?></div>
        <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','arclite')) ?></div>
        <div class="clear"></div>
       <?php endif; ?>


</div>


	<?php else : ?>

		<h1 class="title">Not Found</h1>
		<p>Sorry, but you are looking for something that isn't here.</p>

	<?php endif; ?>


</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>