Title: captChris's Replies | WordPress.org

---

# captChris

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Infinte Scroll on static from page using wp_query](https://wordpress.org/support/topic/infinte-scroll-on-static-from-page-using-wp_query/)
 *  Thread Starter [captChris](https://wordpress.org/support/users/captchris/)
 * (@captchris)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/infinte-scroll-on-static-from-page-using-wp_query/#post-4444087)
 * I have added the pagination navigation as noted below.
 *     ```
       <?php
       		  $temp = $wp_query; $wp_query= null;
       		  $wp_query = new WP_Query(); $wp_query->query('category=-44,-401' . '&paged='.$paged);
       		  while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
               <?php get_template_part( 'content', get_post_format() ); ?>
       		<?php endwhile; ?>
       <?php posts_nav_link(); ?>
       		<?php wp_reset_postdata(); ?>
       ```
   
 * The next posts link is showing up now but it is not being replaced with the IS
   show more link.
 * Thank you again for all your help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Infinte Scroll on static from page using wp_query](https://wordpress.org/support/topic/infinte-scroll-on-static-from-page-using-wp_query/)
 *  Thread Starter [captChris](https://wordpress.org/support/users/captchris/)
 * (@captchris)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/infinte-scroll-on-static-from-page-using-wp_query/#post-4444068)
 * ok. on the static front page i now have the following code
 *     ```
       <?php
       		  $temp = $wp_query; $wp_query= null;
       		  $wp_query = new WP_Query(); $wp_query->query('category=-44,-401' . '&paged='.$paged);
       		  while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
               <?php get_template_part( 'content', get_post_format() ); ?>
       		<?php endwhile; ?>
       		<?php wp_reset_postdata(); ?>
       ```
   
 * the posts are showing up but the show more link is not present.
 * Thank you again for your help with this!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Infinte Scroll on static from page using wp_query](https://wordpress.org/support/topic/infinte-scroll-on-static-from-page-using-wp_query/)
 *  Thread Starter [captChris](https://wordpress.org/support/users/captchris/)
 * (@captchris)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/infinte-scroll-on-static-from-page-using-wp_query/#post-4444049)
 * I tried using wp-query but was having a hard time calling the posts. The code
   I added to the functions file is in my first post as is my working loop using
   query-posts. I also have the loop working using the following code
 *     ```
       <?php query_posts($query_string . '&cat=-44,-401'); ?>
               <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
       		<?php get_template_part( 'content', get_post_format() ); ?>
               <?php endwhile; else: ?>
                 <p>Sorry, no posts matched your criteria.</p>
               <?php endif; ?>
       ```
   

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