Currently, there are 0 users and 1 guest visiting this topic.
  • Creator
    Topic
  • #61918
    General Electric
    Participant

    we are trying to use ajax load more post function after click on load more post content as response bind the html content now if am click on thumb rating it is not working. can you help me on how we can re-initialize the thumb rating library or we have some js event to call thumb rating store in db.

    Topic Information
    Bug Report
    7.3
    5.1
    3.7.2
Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #61919
    MillaN
    Keymaster

    I am out of office for the next 2 days, and I will post example for this on Friday.

    Dev4Press - Premium plugins for WordPress.

    #61920
    General Electric
    Participant

    Thanks for you response. can you tell me any function name which help to reinitialize the gdrts after completing ajax success call. it will solve our problem.

    #61921
    MillaN
    Keymaster

    I am sorry, I don’t have my laptop with me to check the code. I also llplan to add some easy to use calls in JS in next major update.

    For now, I have only this snippet plugin uses:

    $(".gdrts-rating-block .gdrts-thumbs-rating", el).each(function(){
     
     window.wp.gdrts.core.thumbs_rating.single.process(this); 
    });

    Dev4Press - Premium plugins for WordPress.

    #61922
    General Electric
    Participant

    Sorry Millan the code you have provided is not working. thumb rating click event is not working for after loading content from the ajax.

    #61923
    MillaN
    Keymaster

    As I said, I need my laptop, I will be in office on Friday.

    Dev4Press - Premium plugins for WordPress.

    #61924
    MillaN
    Keymaster

    I will release a new update later today that has simpler method for running post-AJAX rendering initialization and I will publish knowledge base articles on how that works.

    Dev4Press - Premium plugins for WordPress.

    #61951
    MillaN
    Keymaster

    Make sure to update the plugin to the new 3.7.4 version, and here is the article for AJAX related initialization:
    https://support.dev4press.com/kb/article/support-for-ajax-loading/.

    Dev4Press - Premium plugins for WordPress.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

If you don't have an account on this website, you can register for a free account here:

Register