I have copied the code but It doesnt seems to work, I see there is an error. Can you please help?
I copy and paste the below code in the footer right?
<script>
jQuery(window).on( 'load', function(){
var $container = $('#posts');
$container.infiniteScroll({
path: '.load-next-posts',
history: false,
status: '.page-load-status'
});
$container.on( 'load.infiniteScroll', function( event, response, path ) {
var $items = $( response ).find('.entry');
// append items after images loaded
$items.imagesLoaded( function() {
$container.append( $items );
$container.isotope( 'insert', $items );
setTimeout( function(){
$container.isotope('layout');
SEMICOLON.initialize.resizeVideos();
SEMICOLON.widget.loadFlexSlider();
SEMICOLON.widget.masonryThumbs();
}, 1000 );
});
});
});
</script>
Are there any other files I need to include?
The error I get is:
Uncaught ReferenceError: jQuery is not defined
at (index):1504
Please advise.
