0
に次のページを読み込む:http://www.spendeeapp.com/
基本的には、mousescroll機能Wordpressのは、私はWordpressの中で、このページを実装するマウスホイール
の負荷の次のポストを私はjQueryの
$(document).ready(function(){
$(document)
.on('mousewheel DOMMouseScroll swipedown swipeup', function(){
// Do something
})
});
PHPスルーmousescrollアクションを複製することができます:
<div id="content">
<h1>Main Area</h1>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<h4>Posted on <?php the_time('F jS, Y') ?></h4>
<p><?php the_content(__('(more...)')); ?></p>
<hr> <?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
</div>
私の質問は、私は次のイベントスルーポスト、およびディスプレイ番目を読み込むことができる方法であり、 eロードされた投稿。
これはおそらく、ajax – developerwjk