Ver Mensaje Individual
  #10 (permalink)  
Antiguo 11/06/2012, 07:42
Avatar de metacortex
metacortex
Viejo demente
 
Fecha de Ingreso: junio-2004
Ubicación: Caracas - Venezuela
Mensajes: 9.027
Antigüedad: 19 años, 10 meses
Puntos: 832
Respuesta: Seleccionar cuál entrada irá en página principal y cuál no. ¿Cómo?

Algo así:

Código PHP:
Ver original
  1. <?php if (have_posts()): while (have_posts()) : the_post(); ?>
  2.     <?php if(get_post_meta($post->ID , 'mostrar home' , true) == 1): ?>
  3.  
  4.         <!-- Código -->
  5.  
  6.     <?php endif; ?>
  7. <?php endwhile; ?>
  8. <?php endif; ?>