WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Infinite scroll - How to hide the pagination intelligently? (1 post)

  1. utnalove
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/jetpack/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags