SNIP: Structured Data & Schema Plugin for WordPress › Forums › Structured Data Help › Recipe Data structure problems › Reply To: Recipe Data structure problems
April 27, 2021 at 8:40 pm
#3576
Florian
Keymaster
Hey Umut,
and thanks for the clarification.
I guess what you’re trying to achieve is to loop through the recipe items, correct? Unfortunately that doesn’t work. But you can access the single items. Try the following for the first item:
qodef_recipe_single_ingredients_items->0->qodef_recipe_single_ingredients_text
For the second item you do:
qodef_recipe_single_ingredients_items->1->qodef_recipe_single_ingredients_text
And so on.
Because you don’t know how much ingredients you have, I would ask a developer to build a custom loop for you which would it make it way easier for you.
- This reply was modified 3 years, 8 months ago by Florian.