VA_Structured_Data
Main class to hook into core structured data class.
Package
Contents
Description Description
Methods Methods
- __construct — Constructor
- add_address — Add the address to the listing json-ld schema if we have any.
- add_author_social_networks — Add the user contact methods to the output filter.
- add_geocoordinates — Add the geo coordinates to the listing json-ld schema if we have any.
- add_listing_social_networks — Add the social networks to the listing json-ld schema.
- add_phone — Add the phone number to the listing json-ld schema.
- add_photos — Add the main photo to the listing json-ld schema if we have any.
- build_schema — Build the json-ld schema.org output based on page being viewed.