• Resolved JohnDBB

    (@johndbb)


    Hello,

    I would like to add articleBody to the structured data of my articles, but I have not succeeded finding a way to add new fields (not creating a new graph but just expanding the article one with new fields). Anybody could help me please?

    Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Yoast has a way to add schema to pages. You would need to use a filter. This guide explains more: https://developer.yoast.com/features/schema/api/#add-or-remove-graph-pieces.

    Unfortunately, we can’t offer support on custom code (needed to change (core) features of our plugin). Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Thread Starter JohnDBB

    (@johndbb)

    Thank you Pcosta88,

    I already checked your docs but they provide examples about changing data, addding images or adding a complete graph piece like Team. I would like to add just a new field (subtitle) to the article graph, but I have found no examples about that.

    Best,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding new fields to Article structured data’ is closed to new replies.