We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support "AJAX Pagination" and "Lazy loading for images" of Jetpack Reply To: "AJAX Pagination" and "Lazy loading for images" of Jetpack

#12645
Tom
Keymaster

Hi there,

We’ll have to tell Jetpack to load the images once our new posts are loaded. Did some looking around and found a way using javascript:

jQuery( document ).ready( $ ) {
    $( 'body' ).on( 'wpsp_items_loaded', function() {
         $( document.body ).trigger( 'post-load' );
    } );
} );

Let me know if that does it or not 🙂