Support » Plugin: WP-PostRatings » Specify the post ID

Viewing 1 replies (of 1 total)
  • Thread Starter Shingo San

    (@shingo-san-1)

    Finally, I found rummaging through the source code. I reversed the custom_id variable and I specified the id in this way:

    <?php
    foreach(get_field('card') as $post_object):
    if(function_exists('the_ratings')) { the_ratings($post_object->ID); } endforeach; ?>

    Thank you very much for this plugin !

Viewing 1 replies (of 1 total)
  • The topic ‘Specify the post ID’ is closed to new replies.