Title: Does nothing in WP 4.0
Last modified: August 22, 2016

---

# Does nothing in WP 4.0

 *  Resolved [invot](https://wordpress.org/support/users/invot/)
 * (@invot)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/does-nothing-in-wp-40/)
 * My loop looks like this:
 *     ```
       <?php if (have_posts()) : ?>
   
           <?php while (have_posts()) : the_post(); ?>
   
       			<?php if( !is_sticky( get_the_ID() ) ): ?>
   
                 <?php get_template_part( 'content', 'home' ); ?>
   
             <?php endif; ?>
   
           <?php endwhile; ?>
   
           <div id="nav-below">
             <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
             <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
           </div>
   
           <?php else : ?>
   
           <h2 class="center">Not Found</h2>
           <p class="center">Sorry, but you are looking for something that isn't here.</p>
           <?php get_search_form(); ?>
   
         <?php endif; ?>
       ```
   
 * Doesn’t seem that unusual to me… but this plugin doesn’t do anything when I install
   it. Is there something I’m missing?
 * [https://wordpress.org/plugins/infinite-scroll/](https://wordpress.org/plugins/infinite-scroll/)

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

 *  Thread Starter [invot](https://wordpress.org/support/users/invot/)
 * (@invot)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/does-nothing-in-wp-40/#post-5429264)
 * I found a solution that worked. I had to add `id` and `class` tags to a number
   of my elements.
 * The container of the posts had to be `id="blogContent"` and the articles had 
   to be `class="blogEntry"`
 *  Thread Starter [invot](https://wordpress.org/support/users/invot/)
 * (@invot)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/does-nothing-in-wp-40/#post-5429265)
 * Whops… and this is resolved.
 *  [wilchrisalex](https://wordpress.org/support/users/wilchrisalex/)
 * (@wilchrisalex)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/does-nothing-in-wp-40/#post-5429377)
 * What does your finished code look like?

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

The topic ‘Does nothing in WP 4.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/infinite-scroll.svg)
 * [Infinite-Scroll](https://wordpress.org/plugins/infinite-scroll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/infinite-scroll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/infinite-scroll/)
 * [Active Topics](https://wordpress.org/support/plugin/infinite-scroll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/infinite-scroll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/infinite-scroll/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wilchrisalex](https://wordpress.org/support/users/wilchrisalex/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/does-nothing-in-wp-40/#post-5429377)
 * Status: resolved