Hi
So Yoast does generate a generic schema, which is good. But I need to customize it and provide specific information (based on the URL). Of course, it will NOT be possible for Yoast to read my mind, so if there is a way that it can allow me to pass some data to it to include in JSON-LD, that will be great.
I copy paste the page data here:
<script type=”application/ld+json” class=”yoast-schema-graph”>{“@context”:”https://schema.org”,”@graph”:[{“@type”:”WebSite”,”@id”:”https://test.testsite.com/#website”,”url”:”https://test.testsite.com/”,”name”:”Test Site”,”description”:”Just another WordPress site”,”potentialAction”:[{“@type”:”SearchAction”,”target”:”https://test.testsite.com/?s={search_term_string}”,”query-input”:”required name=search_term_string”}],”inLanguage”:”en-US”},{“@type”:”WebPage”,”@id”:”https://test.testsite.com/car-sellers-san-francisco-ca/#webpage”,”url”:”https://test.testsite.com/car-sellers-san-francisco-ca/”,”name”:”!!! car-sellers-san-francisco-ca -“,”isPartOf”:{“@id”:”https://test.testsite.com/#website”},”datePublished”:”2020-10-13T05:34:42+00:00″,”dateModified”:”2020-10-23T22:28:45+00:00″,”inLanguage”:”en-US”,”potentialAction”:[{“@type”:”ReadAction”,”target”:[“https://test.testsite.com/car-sellers-san-francisco-ca/”%5D}]}]}</script>
<!– / Yoast SEO plugin. –>
Thanks.