Title: pupilo's Replies | WordPress.org

---

# pupilo

  [  ](https://wordpress.org/support/users/pupilo/)

 *   [Profile](https://wordpress.org/support/users/pupilo/)
 *   [Topics Started](https://wordpress.org/support/users/pupilo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pupilo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pupilo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pupilo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pupilo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pupilo/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [next_posts_link showing same posts as Page 1](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/)
 *  [pupilo](https://wordpress.org/support/users/pupilo/)
 * (@pupilo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/#post-4205997)
 * Ouch, I did not started this topic so I cannot change its status :/
    I think 
   deniseyap may be the one who can close it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [next_posts_link showing same posts as Page 1](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/)
 *  [pupilo](https://wordpress.org/support/users/pupilo/)
 * (@pupilo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/#post-4205994)
 * I placed it just before this query and now it works! It must other query that’s
   causing the trouble and for now it does work placing it just before it. So thank’s…
   thank you very much! 🙂
 * (I’ll try to see If I can find the one that’s causing the trouble)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [next_posts_link showing same posts as Page 1](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/)
 *  [pupilo](https://wordpress.org/support/users/pupilo/)
 * (@pupilo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/#post-4205992)
 * It seems it stays on page 1, but the url displays …/page/2/
    here’s the link 
   if you want to take a look. [blog.pupilo.com.mx/cont/](http://blog.pupilo.com.mx/cont/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [next_posts_link showing same posts as Page 1](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/)
 *  [pupilo](https://wordpress.org/support/users/pupilo/)
 * (@pupilo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/#post-4205989)
 * It did’t work, either one. Well, with the first one I got an error message something
   like: “an extra ‘)’ was found” something like that. And with the other one I 
   got the same problem as before. It displays the same post on page 1, 2, 3, and
   on.
    :/
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [next_posts_link showing same posts as Page 1](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/)
 *  [pupilo](https://wordpress.org/support/users/pupilo/)
 * (@pupilo)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/next_posts_link-showing-same-posts-as-page-1/#post-4205987)
 * Hi. I have a similar problem.
 *     ```
       <div id="portafolio">	
   
       				<?php
   
       		$args = array(
   
       			'post_type' => 'post',
       			'posts_per_page' => 8,
       			 'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1)
   
       			 );
   
       		query_posts($args);
   
       		while (have_posts()) : the_post(); ?>                        		
   
       <div id="posts_below">
       			<div class="home_box_below" onclick="window.location='<?php the_permalink(); ?>'; return false;">
   
       				<?php the_post_thumbnail('feat-image'); ?>
   
       		<div class="home_box_belowTxt">
       				<h3><?php the_title(); ?></h3>
       				<div class="categorias"><?php the_category(', ') ?></div>
       		</div><!--//home_box_belowTxt-->
       	</div><!--//home_box_below-->
       </div><!--//posts_below-->
       		<?php endwhile; ?>  	
   
       		<div class="nav_cont">
   
       			<div class="left"><?php previous_posts_link('Siguiente') ?></div>
   
       			<div class="right"><?php next_posts_link('Anterior') ?></div>
   
       			<div class="clear"></div>
   
       		</div><!--//blog_nav_cont-->
   
       <?php wp_reset_query(); ?>
   
       	<div class="clear"></div>
   
       <?php get_footer(); ?>
       ```
   
 * The links to the next page do redirect me to the next page but the same results
   are displayed.
    I have the same code in a diferent page (with other restrictions)
   and it works just fine, but this one I don’t seem to find the error in the code.
   Perhaps someone could help me. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)