Title: Additional markup
Last modified: February 16, 2021

---

# Additional markup

 *  Resolved [rezwiebel](https://wordpress.org/support/users/rezwiebel/)
 * (@rezwiebel)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/additional-markup/)
 * Hi, on my website I have implemented schema.org/recipe manually in the single.
   php. Now I have added rate my post plugin to add the rating functionality. Unfortunately
   now the site has 2 markups for schema.org. One I added myself and one your plugin
   adds via json. So far not a big problem for Google, but on pinterest the scraper
   only finds your schema.org markup which misses all other /recipe fields that 
   are needed. Is there any way to add the aggregaterating fields inside my own 
   markup in single.php?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Blaz K.](https://wordpress.org/support/users/blazk/)
 * (@blazk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/additional-markup/#post-14064947)
 * Hi [@rezwiebel](https://wordpress.org/support/users/rezwiebel/),
 * You can retrieve the vote count and average rating for each post with the following
   functions:
 * rmp_get_avg_rating( $postID )
    rmp_get_vote_count( $postID )
 * This should be enough to add the aggregaterating fields inside your own markup.
   More in the [documentation](https://blazzdev.com/documentation/rate-my-post-documentation/#global-functions).
 * Regards,
    Blaz

Viewing 1 replies (of 1 total)

The topic ‘Additional markup’ is closed to new replies.

 * ![](https://ps.w.org/rate-my-post/assets/icon-128x128.png?rev=2045796)
 * [Rate My Post - Star Rating Plugin by FeedbackWP](https://wordpress.org/plugins/rate-my-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rate-my-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rate-my-post/)
 * [Active Topics](https://wordpress.org/support/plugin/rate-my-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rate-my-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rate-my-post/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Blaz K.](https://wordpress.org/support/users/blazk/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/additional-markup/#post-14064947)
 * Status: resolved