• Resolved sroskylos

    (@sroskylo1)


    hello

    How i am trying to print this in JSON-LD code

    "@type": "AggregateRating",
            "ratingValue": "5",
            "reviewCount": "52"
          },

    I need print only the each value ex”5″ and “52” of post id. Is this possible?

    • This topic was modified 7 years ago by sroskylos.
Viewing 1 replies (of 1 total)
  • Plugin Author Lester Chan

    (@gamerz)

    <?php echo get_post_meta( get_the_ID(), 'ratings_score', true ); ?>
    <?php echo get_post_meta( get_the_ID(), 'ratings_users', true ); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘print the score’ is closed to new replies.