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, 1 ) ) ); 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(); ?>     
  
 




 
 

