Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/03/2011, 06:43
Avatar de Nekko
Nekko
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Buenos Aires
Mensajes: 3.141
Antigüedad: 16 años, 1 mes
Puntos: 656
Respuesta: Como editar loop para categorias

Código PHP:
<?php 
$lacat 
get_query_var('cat');
            
$arg=array(
               
'cat'=>$lacat,
               
'orderby'=>date,
               
'order'=>ASC
               
);
query_posts($arg);
if ( 
have_posts() ) : while ( have_posts() ) : the_post(); ?>
Espero que te ayude!
__________________
Taller para crear themes wordpress desde cero | Presupuestos para trabajos particulares vía MP