{"id":373,"date":"2013-08-21T13:57:57","date_gmt":"2013-08-21T12:57:57","guid":{"rendered":"http:\/\/blog.leaves-and-love.net\/?p=373"},"modified":"2025-02-11T08:12:54","modified_gmt":"2025-02-11T16:12:54","slug":"how-to-modify-wp-seo-breadcrumbs-for-schema-org","status":"publish","type":"post","link":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/","title":{"rendered":"How To Modify WP SEO Breadcrumbs For Schema.org"},"content":{"rendered":"<p>A day ago, Ian Anderson Gray from\u00a0<a title=\"iag.me\" href=\"http:\/\/iag.me\/\" target=\"_blank\" rel=\"noopener noreferrer\">iag.me<\/a>\u00a0opened <a title=\"Add schema.org markup in WordPress SEO\" href=\"https:\/\/github.com\/Yoast\/wordpress-seo\/issues\/179\" target=\"_blank\" rel=\"noopener noreferrer\">this new thread<\/a>\u00a0in the Github repository for <a title=\"Yoast's WordPress SEO\" href=\"http:\/\/yoast.com\/wordpress\/seo\/\" target=\"_blank\" rel=\"noopener noreferrer\">Yoast&#8217;s WordPress SEO plugin<\/a>.\u00a0He surely isn&#8217;t the only one thinking about using Schema.org markup in WordPress (I do too!), so if you are also interested, you should join the discussion. In this article I will not tell you the great unique amazing solution for this. BUT &#8211; I will show you how to modify the WordPress SEO plugin (using filters only) so that the plugin&#8217;s breadcrumbs will be using valid Schema.org markup instead of the old RDFa markup.<br \/>\n<!--more--><\/p>\n<p>I personally think that Schema.org should be handled by WordPress themes because it will pretty much integrate with everything on the website (it should so that Google gets as much information as possible!). So while a plugin for this might help, I&#8217;d prefer to see themes that fully feature Schema.org markup. For this reason, I just developed a way to modify the breadcrumbs from Yoast&#8217;s WordPress SEO plugin. Adding the class below will do all the changes. I just wrote this, and I don&#8217;t have too much time right now, so I won&#8217;t describe everything in there. But if you are a coder, that should not be too hard to understand. So here is my class which will replace the RDFa markup with valid Schema.org markup that is correctly parsed by <a title=\"Google\" href=\"http:\/\/google.com\" target=\"_blank\" rel=\"noopener noreferrer\">Google<\/a>.<\/p>\n<p><a title=\"Schema Breadcrumbs for WordPress SEO\" href=\"https:\/\/github.com\/felixarntz\/schema-breadcrumbs-for-wordpress-seo\" target=\"_blank\" rel=\"noopener noreferrer\">You can find and download the current version of the class on Github.<\/a><\/p>\n<p>All you need to do is include this class in your theme and then instantiate it. The readme file in the Github repository tells you how to do so.<\/p>\n<p>And that&#8217;s it!<\/p>\n<p>If you have any questions about the usage of this class or if you find any mistakes or bugs, please comment or email me, thank you in advance!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A day ago, Ian Anderson Gray from\u00a0iag.me\u00a0opened this new thread\u00a0in the Github repository for Yoast&#8217;s WordPress SEO plugin.\u00a0He surely isn&#8217;t the only one thinking about using Schema.org markup in WordPress (I do too!), so if you are also interested, you should join the discussion. In this article I will not tell you the great unique [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":514,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[71,97],"tags":[],"class_list":["post-373","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Modify WP SEO Breadcrumbs For Schema.org - felix-arntz.me<\/title>\n<meta name=\"description\" content=\"This article will show you how to modify the WordPress SEO plugin by Yoast so that it will show breadcrumbs with the current Schema.org markup.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Modify WP SEO Breadcrumbs For Schema.org - felix-arntz.me\" \/>\n<meta property=\"og:description\" content=\"This article will show you how to modify the WordPress SEO plugin by Yoast so that it will show breadcrumbs with the current Schema.org markup.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\" \/>\n<meta property=\"og:site_name\" content=\"felix-arntz.me\" \/>\n<meta property=\"article:published_time\" content=\"2013-08-21T12:57:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-11T16:12:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Felix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@felixarntz\" \/>\n<meta name=\"twitter:site\" content=\"@felixarntz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Felix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\"},\"author\":{\"name\":\"Felix\",\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\"},\"headline\":\"How To Modify WP SEO Breadcrumbs For Schema.org\",\"datePublished\":\"2013-08-21T12:57:57+00:00\",\"dateModified\":\"2025-02-11T16:12:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\"},\"wordCount\":324,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\"},\"image\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg\",\"articleSection\":[\"Tutorials\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\",\"url\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\",\"name\":\"How To Modify WP SEO Breadcrumbs For Schema.org - felix-arntz.me\",\"isPartOf\":{\"@id\":\"https:\/\/felix-arntz.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg\",\"datePublished\":\"2013-08-21T12:57:57+00:00\",\"dateModified\":\"2025-02-11T16:12:54+00:00\",\"description\":\"This article will show you how to modify the WordPress SEO plugin by Yoast so that it will show breadcrumbs with the current Schema.org markup.\",\"breadcrumb\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage\",\"url\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg\",\"contentUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg\",\"width\":1440,\"height\":540,\"caption\":\"How To Modify WP SEO Breadcrumbs For Schema.org\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/felix-arntz.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\/\/felix-arntz.me\/blog\/category\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Modify WP SEO Breadcrumbs For Schema.org\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/felix-arntz.me\/#website\",\"url\":\"https:\/\/felix-arntz.me\/\",\"name\":\"felix-arntz.me\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/felix-arntz.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\",\"name\":\"Felix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png\",\"contentUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png\",\"width\":512,\"height\":512,\"caption\":\"Felix\"},\"logo\":{\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/\"},\"description\":\"Developer Programs Engineer at Google. WordPress Core Committer. Previously Yoast. Runner, musician, movie geek. Aprendiendo espa\u00f1ol. Fueled by Mountain Dew.\",\"sameAs\":[\"https:\/\/x.com\/felixarntz\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Modify WP SEO Breadcrumbs For Schema.org - felix-arntz.me","description":"This article will show you how to modify the WordPress SEO plugin by Yoast so that it will show breadcrumbs with the current Schema.org markup.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/","og_locale":"en_US","og_type":"article","og_title":"How To Modify WP SEO Breadcrumbs For Schema.org - felix-arntz.me","og_description":"This article will show you how to modify the WordPress SEO plugin by Yoast so that it will show breadcrumbs with the current Schema.org markup.","og_url":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/","og_site_name":"felix-arntz.me","article_published_time":"2013-08-21T12:57:57+00:00","article_modified_time":"2025-02-11T16:12:54+00:00","og_image":[{"width":1440,"height":540,"url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg","type":"image\/jpeg"}],"author":"Felix","twitter_card":"summary_large_image","twitter_creator":"@felixarntz","twitter_site":"@felixarntz","twitter_misc":{"Written by":"Felix","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#article","isPartOf":{"@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/"},"author":{"name":"Felix","@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55"},"headline":"How To Modify WP SEO Breadcrumbs For Schema.org","datePublished":"2013-08-21T12:57:57+00:00","dateModified":"2025-02-11T16:12:54+00:00","mainEntityOfPage":{"@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/"},"wordCount":324,"commentCount":10,"publisher":{"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55"},"image":{"@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage"},"thumbnailUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg","articleSection":["Tutorials","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/","url":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/","name":"How To Modify WP SEO Breadcrumbs For Schema.org - felix-arntz.me","isPartOf":{"@id":"https:\/\/felix-arntz.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage"},"image":{"@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage"},"thumbnailUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg","datePublished":"2013-08-21T12:57:57+00:00","dateModified":"2025-02-11T16:12:54+00:00","description":"This article will show you how to modify the WordPress SEO plugin by Yoast so that it will show breadcrumbs with the current Schema.org markup.","breadcrumb":{"@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#primaryimage","url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg","contentUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg","width":1440,"height":540,"caption":"How To Modify WP SEO Breadcrumbs For Schema.org"},{"@type":"BreadcrumbList","@id":"https:\/\/felix-arntz.me\/blog\/how-to-modify-wp-seo-breadcrumbs-for-schema-org\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/felix-arntz.me\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/felix-arntz.me\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"How To Modify WP SEO Breadcrumbs For Schema.org"}]},{"@type":"WebSite","@id":"https:\/\/felix-arntz.me\/#website","url":"https:\/\/felix-arntz.me\/","name":"felix-arntz.me","description":"","publisher":{"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/felix-arntz.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55","name":"Felix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/","url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png","contentUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png","width":512,"height":512,"caption":"Felix"},"logo":{"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/"},"description":"Developer Programs Engineer at Google. WordPress Core Committer. Previously Yoast. Runner, musician, movie geek. Aprendiendo espa\u00f1ol. Fueled by Mountain Dew.","sameAs":["https:\/\/x.com\/felixarntz"]}]}},"jetpack_featured_media_url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2013\/08\/how-to-modify-wp-seo-breadcrumbs-for-schema-org.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/comments?post=373"}],"version-history":[{"count":2,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":1312,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts\/373\/revisions\/1312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/media\/514"}],"wp:attachment":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}