• Resolved konigrot

    (@konigrot)


    Im AJAX loading a display of games with the post ratings widget attached to each one. Problem is, the post ratings widget is not displaying when output via this AJAX display, but it works fine on the pages when loaded normally. Does anyone know if the plugin needs something like a pageload java event or something which might explain why it doesn’t trigger when loaded through an AJAX call?

    You can see the issue on http://www.gamingslots.com/slots/. The stars are displaying fine on the page, but when loading more games via the ‘show more slots’ button the star ratings are blank and the container div remains empty. The same display call $output .= '<div class="rating">'.PostRatings()->getControl($game->ID, false, true).'</div>'; is used in both cases.

    https://wordpress.org/plugins/wp-postratings/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Ratings in nested Ajax call not displaying’ is closed to new replies.