Back to GD Rating System (Lite) Forum

gd star system with ajax content load thumb like functionality is not working

Published on: August 27, 2019 at 11:56 am · By: General Electric
Author
Topic
#61918

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.

Viewing 7 replies - 1 through 7 (of 7 total)
Author
Replies
  • #61919

    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

    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

    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

    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

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

    Dev4Press - Premium plugins for WordPress.

  • #61924

    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

    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)
  • The topic ‘gd star system with ajax content load thumb like functionality is not working’ is closed to new replies.