The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Selectors on Gridly/Remplace 'view older posts' (3 posts)

  1. 75alex
    Posted 3 years ago #

    Hi everybody, i have two questions. First of all, is it possible to use this on theme gridly ? (my website)(and what are the selectors ?)
    And does it works on the "show latest posts" page or only in blog view ?
    Thanks in advance for the help ! :)


  2. 75alex
    Posted 3 years ago #

    So i can't even make my post go back to 1st page here ? It's been a month and i'm still supposed to expect an answer without doing anything ? It's not as if i did that every day, it seems like one post a month is legitimate until i get an answer.

  3. sactyr
    Posted 3 years ago #

    I am using Infinite-Scroll in my site, which uses the Gridly theme, although it's not live yet.

    Behaviour: Masonry/Isotope

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

    Now you need to change a code which I have listed below, so before you do anything else, backup your template.

    Go to your index.php file. Should be found here:

    Now look up this code (last second line of the page):
    <?php next_posts_link('<p class="view-older">View Older Entries</p>') ?>

    Now change that to:
    <div id="navigation">
    <div class="view-older"><?php next_posts_link('View Older Entries'); ?></div>

    [What I have done is I have introduced a new ID called navigation so that the selector recognises it]

    It only works on the main page. Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Infinite-Scroll
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic