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 );
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?
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.