Open MirandaEcho opened 4 years ago
I installed the plugin on staging, and:
post
.With the plugin activated, here's what the prettified ld+JSON look like:
<script type='application/ld+json' class='yoast-schema-graph yoast-schema-graph--main'>
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization",
"name": "PublicSource",
"url": "http://staging.classy-vegetable.flywheelsites.com/",
"sameAs": [
"https://www.facebook.com/publicsource/",
"https://www.instagram.com/publicsource/",
"https://twitter.com/PublicSourcePA"
],
"logo": {
"@type": "ImageObject",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#logo",
"inLanguage": "en-US",
"url": "http://staging.classy-vegetable.flywheelsites.com/wp-content/uploads/2017/01/square.jpg",
"width": 1000,
"height": 1000,
"caption": "PublicSource"
},
"image": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#logo"
}
},
{
"@type": "WebSite",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#website",
"url": "http://staging.classy-vegetable.flywheelsites.com/",
"name": "PublicSource | News for a better Pittsburgh",
"description": "We\\u2019re a nonprofit newsroom covering Pittsburgh news with context. Find stories on education, environment, local government, and social justice.",
"publisher": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization"
},
"potentialAction": [
{
"@type": "SearchAction",
"target": "http://staging.classy-vegetable.flywheelsites.com/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
],
"inLanguage": "en-US"
},
{
"@type": "CollectionPage",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#webpage",
"url": "http://staging.classy-vegetable.flywheelsites.com/",
"name": "PublicSource | News for a better Pittsburgh - We\\u2019re a nonprofit newsroom covering Pittsburgh news with context. Find stories on education, environment, local government, and social justice.",
"isPartOf": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#website"
},
"about": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization"
},
"description": "We're a nonprofit newsroom covering Pittsburgh news with context. Find stories on education, environment, local government, and social justice.",
"inLanguage": "en-US"
}
]
}
</script>
article looks like:
<script type="application/ld+json" class="yoast-schema-graph">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization",
"name": "PublicSource",
"url": "http://staging.classy-vegetable.flywheelsites.com/",
"sameAs": [
"https://www.facebook.com/publicsource/",
"https://www.instagram.com/publicsource/",
"https://twitter.com/PublicSourcePA"
],
"logo": {
"@type": "ImageObject",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#logo",
"inLanguage": "en-US",
"url": "http://staging.classy-vegetable.flywheelsites.com/wp-content/uploads/2017/01/square.jpg",
"width": 1000,
"height": 1000,
"caption": "PublicSource"
},
"image": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#logo"
}
},
{
"@type": "WebSite",
"@id": "http://staging.classy-vegetable.flywheelsites.com/#website",
"url": "http://staging.classy-vegetable.flywheelsites.com/",
"name": "PublicSource | News for a better Pittsburgh",
"description": "We\\u2019re a nonprofit newsroom covering Pittsburgh news with context. Find stories on education, environment, local government, and social justice.",
"publisher": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization"
},
"potentialAction": [
{
"@type": "SearchAction",
"target": "http://staging.classy-vegetable.flywheelsites.com/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
],
"inLanguage": "en-US"
},
{
"@type": "ImageObject",
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#primaryimage",
"inLanguage": "en-US",
"url": "http://staging.classy-vegetable.flywheelsites.com/wp-content/uploads/2018/12/tzu.hilltop.farm_.03-1170x782.jpg",
"width": 1500,
"height": 1002,
"caption": "Sarah Baxendell, director of the Hilltop Urban Farm, points out future plans for the 23-acre site, which will include a youth farm, farmers market and gardens for a farmer incubation program. (Photo by Teake Zuidema/PublicSource)"
},
{
"@type": "WebPage",
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#webpage",
"url": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/",
"name": "What does Pittsburgh's Hilltop Urban Farm need to do to mitigate a food desert? Access to healthy food may only be a start. - PublicSource | News for a better Pittsburgh",
"isPartOf": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#website"
},
"primaryImageOfPage": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#primaryimage"
},
"datePublished": "2018-12-24T11:30:40+00:00",
"dateModified": "2018-12-31T15:09:16+00:00",
"description": "The 23-acre farm will grow food to sell, but its creators at the Hilltop Alliance are also planning to teach youth about agriculture and create a new generation of urban farmers.",
"inLanguage": "en-US",
"potentialAction": [
{
"@type": "ReadAction",
"target": [
"http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/"
]
}
]
},
{
"@type": "NewsArticle",
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#article",
"isPartOf": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#webpage"
},
"author": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#/schema/person/09fcbe688dff8ec68b9f0cf9172cd318"
},
"headline": "What does Pittsburgh’s Hilltop Urban Farm need to do to mitigate a food desert? Access to healthy food may only be a start.",
"datePublished": "2018-12-24T11:30:40+00:00",
"dateModified": "2018-12-31T15:09:16+00:00",
"mainEntityOfPage": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#webpage"
},
"publisher": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization"
},
"image": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/pittsburgh-hilltop-urban-farm-mitigate-food-desert-healthy-food-access/#primaryimage"
},
"keywords": "environment,food desert,Urban development,urban farm",
"articleSection": "Developing Pittsburgh,ENVIRONMENT,HEALTH",
"inLanguage": "en-US",
"copyrightYear": "2018",
"copyrightHolder": {
"@id": "http://staging.classy-vegetable.flywheelsites.com/#organization"
}
},
{
"@type": [
"Person"
],
"@id": "http://staging.classy-vegetable.flywheelsites.com/#/schema/person/09fcbe688dff8ec68b9f0cf9172cd318",
"name": "nkhan"
}
]
}
</script>
Next steps:
@type
Public Source has purchased the addon. Login info is in 1Pass.
Install and configure for the following:
Homepage format changes: