Support » Plugin: Jetpack by » Infinite scroll – How to hide the pagination intelligently?

  • Hello, I’d like to remove the pagination. This is my code:

    <div class="post_common_bottom"></div>
    <?php endwhile; ?>
    <?php if (function_exists("pagination")) {pagination();} ?>
    <?php else : ?>
    <h2 class="center"><?php _e("Not found","language")?></h2>
    <?php endif; ?>

    If I delete the pagination, it will never appear.

    I would like to have the pagination appear if:
    -temporarily jetpack is disabled
    -temporarily the infinite scrolling is disabled
    -if a user doesn’t support the required java (whatever) to make the new posts appear automatically. So they will still be able to surf the pages

    Is the above possible?

    I have a blog with a HUGE amount of content and pages. If somebody wants to go to my first posts, and infinite scroll is ON. Should they “wait” until all pages load (tens, hundreds…) or there is a faster way? Eg. to have the pagination AND infinite scrolling?

  • The topic ‘Infinite scroll – How to hide the pagination intelligently?’ is closed to new replies.