• Resolved alx359

    (@alx359)


    Have ajax-ed a ST std. pagination (with another excellent plugin: Malinky Infinite Scroll.)

    I’ve an issue where a second ST shortcode needs to be re-initialized during such pagination. I’ve usually achieved this with:

    $(document).on('click', '.mydiv', function() { 
       reinit_stuff(); 
    })

    etc.

    How to properly do that with ST? What would I need to call?

    PS: I’ve digged the pagerObject that seemed promising but it isn’t working for me this way:

    
    $('a.page-numbers').on('click', function() {
       $('.strong-paginated').each(function () {
           pagerObject.initPager(this);
       });
    });
    

    Any suggestions?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • anonymized-13171256

    (@anonymized-13171256)

    I am working on a re-init for PJAX themes and it’s working for Malinky’s plugin too.

    Let me know if you’re willing to beta test it.

    Thread Starter alx359

    (@alx359)

    Yes, of course. May also let me know what to do at my nickname @ gmail.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘re-initialize ST with ajax?’ is closed to new replies.