WordPress.org

Ready to get started?Download WordPress

Forums

gridly theme - making it one scrolling page (3 posts)

  1. krhd
    Member
    Posted 1 year ago #

    i am wondering how exactly i go about making my site a single scrolling page. i am using gridly theme. thank you.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Unfortunately, these forums only support themes from here:
    http://wordpress.org/extend/themes/

    So you might see if the developer can help you:

    http://www.eleventhemes.com/gridly-theme/

  3. sactyr
    Member
    Posted 9 months ago #

    Krhd,

    Install this plugin called "Infinite Scroll"

    In Settings:

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic