• Resolved Daniel

    (@dmzayasplus)


    Voting on ratings worked one day, and didn’t the next. No other changes were made to the site within that time.

    Here’s the code I am using:

    <?php
      $args = array(
        'post_type' => 'reviewer',
        'posts_per_page' => -1,
        'meta_key' => 'ratings_users',
        'orderby' => 'meta_value_num',
        'order' => 'DESC'
      );
      $loop = new WP_Query( $args );
      while ( $loop->have_posts() ) : $loop->the_post();
    ?>
    <tr>
      <td>
        <?php echo do_shortcode('[ratings]'); ?>
      </td>
    </tr>

    I then go on to close the table etc.

    The plugin is generating as a static image rather than a link to click on.

    https://www.ads-software.com/plugins/wp-postratings/

Viewing 1 replies (of 1 total)
  • Thread Starter Daniel

    (@dmzayasplus)

    Fixed! Funny how typing it out makes you realize what you did wrong. Thanks anyway!

Viewing 1 replies (of 1 total)
  • The topic ‘Ratings not Working’ is closed to new replies.