WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
Incompatible with IOS on the iPhone? (4 posts)

  1. johann3s
    Member
    Posted 2 years ago #

    on my site: jn.vg infinite scroll isnt working on the iphone. Can anyone confirm this, or is there a solution for this problem?

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. Eggmonger
    Member
    Posted 2 years ago #

    Johann, I have the same problem, did you find out about it???

    EggMonger

  3. Eggmonger
    Member
    Posted 2 years ago #

    ok! the problem lies in the bottom of the page! it need a reason to find another page!
    I can't help you, since I have coders doing it, but I had to push them to solve it!
    http://www.frenetichappiness.com

  4. rocabola
    Member
    Posted 2 years ago #

    Infinite-scroll doesn't work with iPhone or iPad. I use this code to put a next-previus page pagination, so when the user is surfing the site in an iPhone or iPad it shows the navigation instead of the infinite-scroll.
    More info about the use of the code here.

    <?php if(mobile_device_detect(true,true,true,true,true,true,true,false,false)){ ?>
    	<div id="paginacion">
    		<?php
    			global $wp_query;
    			$big = 999999999; // need an unlikely integer
    			echo paginate_links( array(
    				'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
    				'format' => '?paged=%#%',
    				'current' => max( 1, get_query_var('paged') ),
    				'total' => $wp_query->max_num_pages
    			) );
    		?>
         </div>
    <? }else{ ?>
         <?php twentyeleven_content_nav( 'nav-below' ); ?>
    <? }?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic