If you look at the code via developer tools, you will be able to see that the called up posts are hidden under the originals.
Since your site is in maintenance mode, I wasn’t able to access it to look at the issue.
Could you give me access, so I can take a look?
It might also be worth contacting the theme author, as they might have had similar questions from other users in the past.
So sorry. I thought I’ve deactivated maintenance mode. Now, deactivated.
Anyway, how and where (i.e. best practices) do I add the code for Javascript events, as described by Jetpack Infinite Scroll documentation?
Thanks!
I would fist recommend that you switch to the click type in Infinite Scroll, since you have footer widgets. This way, you’ll allow your readers to see your widgets there.
When using Isotope for Infinite Scroll, you’ll need to re-fire Isotope so it gets applied to the new posts as soon as they get loaded. With Masonry for example, it’s something you can accomplish with reload, as explained here:
http://wptheming.com/2013/04/jetpack-infinite-scroll-masonry/
I’m not really familiar with Isotope, but it looks like appended, explained here, could do the trick:
http://isotope.metafizzy.co/v1/demos/infinite-scroll.html
http://isotope.metafizzy.co/methods.html#appended
I hope this helps.
Where would I insert the jquery or javascript code for Isotope’s re-firing? A bit confused about that. Do I add it in a js file and enqueue it in functions.php?
I’m assuming that the relevant code to fire is this?
var $newItems = $('<div class="item" /><div class="item" /><div class="item" />');
$('#container').isotope( 'insert', $newItems );
Do I add it in a js file and enqueue it in functions.php?
Exactly.
I’m assuming that the relevant code to fire is this?
I’m not familiar with Isotrope so I can only suggest that you give it a try. You will need to adapt the code from the Isotrope documentation to match the posts returned by Infinite Scroll, but the Masonry tutorial I posted earlier should help you with that.