WordPress.org

Support

Support » Plugins and Hacks » Selectors on Gridly/Remplace 'view older posts'

Selectors on Gridly/Remplace 'view older posts'

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

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

    Behaviour: Masonry/Isotope

    Selectors:
    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:
    /wp/wp-content/themes/gridly/index.php

    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>
    </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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selectors on Gridly/Remplace 'view older posts'’ is closed to new replies.