Support » Plugin: Recipe Maker For Your Food Blog from Zip Recipes » Filter zrdn__ratings_format_amp cannot be applied

  • Hi Rogier,

    in the latest release a bug was added.
    I am using your filter zrdn__ratings_format_amp to add rating details to jsonld structured data.

    File: zip-recipes/class.ziprecipes.php
    Line: 1144

    The if condition checks for parameter *ratingCount*, but should check for *count* as this value is also used to fill the jsonld structure.



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RogierLankhorst


    Hi @theschappy,

    you’re right, I’ve already fixed this in the add-ons, but didn’t realise it could be used this way 🙂

    I’ve updated it on git:

    Plugin Author RogierLankhorst


    I have made an adjustment to the rating data: it looks like, although Google suggests to use the @type Recipe in the agregateRating, this isn’t being parsed very well by Google if it is within the Recipe structure already. Just using “itemReviewed” => $recipe->recipe_title seems to work better. It’s merged into into git.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter zrdn__ratings_format_amp cannot be applied’ is closed to new replies.