• Resolved kapson

    (@kapson)


    Hi, Awesome plugin, While working perfectly on my site I noticed one thing.

    I use infinite scrolling for my posts, while “Rate my Post” working fine with first post load, when the next post after scrolling loads “Rate my Post stars” are visible but not able to click/or submit the rating. (Those are unclickable)

    Is there any option or setting to make it work with infinite posts?

    Kindly help

    Thanks for making this beautiful plugin.

    Kapil

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi @kapson,

    You need to run RateMyPost.re_init(); when new posts load. Please see the details in the docs.

    Blaz

    Thread Starter kapson

    (@kapson)

    Hi Blaz,

    I tried to add this code in header and footer

    jQuery(function($){
      $('body').on( 'alnp-post-loaded', function( e, params ) {
        RateMyPost.re_init();
      });
    });

    through these plugins,
    1) Simple Custom CSS and JS
    2) WP Headers And Footers
    3) WPCode – Insert Headers, Footers, and Code Snippets

    But hard luck, none of that worked ??

    Is there any simple option to implement this? As I am novice and scared to touch any code.

    If possible kindly help me to work this.

    Thank you for your kind ssupport.

    Regards
    Kapil

    • This reply was modified 1 year, 11 months ago by kapson.
    Thread Starter kapson

    (@kapson)

    Hi,

    I coudn’t find how to make it work for my site. So, had to remove it for now. Hard luck ??

    If annyone kindly help me with this I would love to use it. I liked it very much.

    @blazk isn’t there any optin we can do this with plugin settings itself?

    Thank you for your support.

    Regards
    Kapil

    Plugin Support Blaz K.

    (@blazk)

    Hi @kapson,

    So, the thing is that once new posts load via infinite scroll functionality the RateMyPost.re_init() function has be called. Rate my post doesn’t know when new posts load as that’s done by another plugin or a theme. Therefore, this is not RMP problem as such. If your infinite scroll plugin triggers a JS event then you should call RateMyPost.re_init() at that time and the widgets will get initialized.

    I recommend asking developer of infinite scroll plugin how can you call RateMyPost.re_init() function once news posts load.

    Best regards,
    Blaz

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to work with infinite scrolling auto load posts?’ is closed to new replies.