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 Run jQuery after ajax load more Reply To: Run jQuery after ajax load more

#5087
Tom
Keymaster

This would be your full code:

jQuery( document ).ready( function($) {
    $('#wpsp-1023 .wp-show-posts-entry-title a').html(function(i, v) {
        return v.replace('–', '<br/>');
    } );

    $( document ).on( 'wpsp_items_loaded', function() {
        $('#wpsp-1023 .wp-show-posts-entry-title a').html(function(i, v) {
            return v.replace('–', '<br/>');
        } );
    } );
} );

Let me know if that works or not 🙂