• thewpman

    (@thewpman)


    Hey everyone! I’m using the Gridly Theme with this awesome plugin. After setup, it works well. But still facing an issue:

    After I hit the “Load more” button, I get the same posts in the first page.

    Let’s say I decide to display on my frontpage only 4 posts and my 1st page has: Post 38,Post 37,Post 36,Post 35.

    When loading content, instead of getting: Post 34,Post 33,Post 32,Post 31, I get the same Post 38,Post 37,Post 36,Post 35.

    The livesite is here

    I’ve tried to change the loop and get posts from one category, but keep getting the same issue.

    Help?

    http://wordpress.org/extend/plugins/infinite-scroll/

Viewing 9 replies - 1 through 9 (of 9 total)
  • svenol

    (@svenol)

    Hi can you help me – how did you setup css selectors for gridly theme? I tried this:

    Content Selector: #post-area
    Navigation Selector: #view-older
    Next Selector: #view-older a:first
    Item Selector: .post

    It doesn’t work.
    Do I have to change somewhere else to make this plugin works?

    svenol

    (@svenol)

    ok i fixed this by using “change and try” method:) just changed Behavior to masonry/isotope

    can you share the selectors you used for gridly?

    I had to make a minor edit to Gridly theme files to make infinite-scroll plugin work.

    I opened up the file wp-content/themes/gridly/index.php

    Down near the bottom of the file (line 29 in my version) there’s a line:

    <?php next_posts_link('<p class="view-older">View Older Entries</p>') ?>

    I wrapped that line in a DIV, so it looks like this:

    <div id="older-nav">
    <?php next_posts_link('<p class="view-older">View Older Entries</p>') ?>
    </div>

    Then I set the following through Infinite Scroll Options in my WP admin panel:

    Content Selector : #post-area
    Navigation Selector : #older-nav
    Next Selector : #older-nav a:first
    Item Selector : .post

    Last step, I followed @svenol’s tip of setting behavior in the options to Masonary/Isotope.

    Awesome, it works.
    Thanks a lot.

    WHERE and HOW do you ‘set’ behavior to Masonary/Isotope?

    hi @svenol’s, can you help us with your tip? i don’t know how set the behavior of masonary/isotope…

    @seppia Go to Dashboard > Settings > Infinite Scroll

    Scroll to the bottom:

    Behaviour <dropdown> – select ‘Masonry/Isotope’.

    Hope this helps. 🙂

    Thanks @ollie Ford. It works on WordPress 3.5.2, but it doesn’t work for 3.6.1. Any thoughts on that?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Posts repeated on Infinite Scroll WP Plugin Gridly theme’ is closed to new replies.