Skip to content

Instantly share code, notes, and snippets.

@danqulogy
Created February 1, 2023 10:07
Show Gist options
  • Select an option

  • Save danqulogy/f0e9b77b441eaeb71766d67156e9aa29 to your computer and use it in GitHub Desktop.

Select an option

Save danqulogy/f0e9b77b441eaeb71766d67156e9aa29 to your computer and use it in GitHub Desktop.
Schema.org markup for SEO
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LocalBusiness",
"name": "Example Company",
"image": "https://www.example.com/logo.png",
"url": "https://www.example.com/",
"telephone": "+1-123-456-7890",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Anytown",
"addressRegion": "CA",
"postalCode": "12345",
"addressCountry": "US"
},
"priceRange": "$$",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "09:00",
"closes": "17:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Saturday",
"Sunday"
],
"opens": "09:00",
"closes": "13:00"
}
],
"sameAs": [
"https://www.facebook.com/example",
"https://www.twitter.com/example",
"https://www.linkedin.com/company/example"
]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment