Support » Plugin: WP-PostRatings » Ajax Stopped Working

  • Hello Lester. No idea what happened but it worked fine when i installed locally and now it doesn’t so i can’t click the rating stars. Looks like the Ajax is broken I’m using it in a single CPT template.

    add_action( 'genesis_before_comment_form', 'star_rating_before_comment_form' );
    function star_rating_before_comment_form() {
     if ( function_exists('the_ratings') && comments_open() ) {

    Also, i thought this adds rating to the comment form but doesn’t

    add_filter( 'wp_postratings_display_comment_author_ratings', '__return_true' );

    I also added this line in the single CPT template but it doesn’t show anything.

  • The topic ‘Ajax Stopped Working’ is closed to new replies.