Adding Review Graph Piece With API
-
In the Schema.org Pieces section of the developer documentation it lists a number of pieces that are not available as classes in
Yoast\WP\SEO\Generators\Schema
.How do you add these pieces to the graph using the API? For a piece like a FAQ or a HowTo, they have classes provided. But there is no class for pieces like Product or Review.
I see that custom pieces can be defined, but why are these pieces listed in the documentation if they do not have matching classes?
I did see that they are available as blocks in the editor. Is this the primary way of using them? And does that mean I should recreate them as custom classes if I want to add them through the API?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Review Graph Piece With API’ is closed to new replies.