Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/12/2014, 09:25
Avatar de satanson123
satanson123
 
Fecha de Ingreso: julio-2012
Mensajes: 217
Antigüedad: 11 años, 9 meses
Puntos: 2
wordpress siempre muestra la misma pagina en la paginacion

Hola amigos tengo este problemita, tengo 2 categorias y no quiero que salgan en el home.

El problema es que cuando hago el bucle que pondre mas abajo wordpress siempre me muestra la misma pagina y no encuentro como arreglarlo.

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

  <section id="contenido">
    <?php 
    $query4 
= new WP_Query( array( 'category__not_in' => array( 361) ) ); if ($query4->have_posts()) : while ($query4->have_posts()) : $query4->the_post(); ?>
        <article id="entrada">
   
     
     <?php if( has_post_format'video' )){
     
get_template_part'loop-video''video' );
     }else{ 
     
get_template_part'loop''index' );
      } 
?>

    
    
    </article>
 
    <hr style="color:#ecf0f4; opacity: 0.3;
    filter: alpha(opacity=30);padding:0;margin:0;" />
     <?php endwhile; ?>

 <section style="clear:both;"></section>
  <?php if (function_exists('wp_pagenavi')){ wp_pagenavi(); }else{
      
?>
<div class="navilink">
<div style="float:left;"><?php previous_posts_link'Anterior' ); ?></div>
<div style="float:right;"><?php next_posts_link'Siguiente''' ); ?></div>
</div>
<?php ?>

    <?php else : ?>

        <h2>Not Found</h2>

    <?php endif; ?>
    </section>


<?php get_footer(); ?>