Posts not all appearing in infinite scroll
-
I’ve added the below Infinite Scroll code (found on this forum) to the Theme Functions .php in my Child Theme:
// infinite scroll posts per loop function iona_infinite_scroll_settings( $args ) { if ( is_array( $args ) ) $args['posts_per_page'] = 12; $args['type'] = 'scroll'; return $args; } add_filter( 'infinite_scroll_settings', 'iona_infinite_scroll_settings' );
However there are some posts that do not appear at all (ie: they’re missing) when I scroll down the page.
All my posts have the correct Published date, but changing these dates does not seem to affect whether these posts show up or not. This only happens on a few posts, so I’m not sure why.
Help?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Posts not all appearing in infinite scroll’ is closed to new replies.