{"id":13436,"date":"2019-10-22T16:07:18","date_gmt":"2019-10-22T14:07:18","guid":{"rendered":"https:\/\/hesmid.nl\/test\/?p=13436"},"modified":"2019-10-22T16:07:19","modified_gmt":"2019-10-22T14:07:19","slug":"add-bread-crumbs-with-the-yoast-plugin","status":"publish","type":"post","link":"https:\/\/hesmid.nl\/test\/add-bread-crumbs-with-the-yoast-plugin\/","title":{"rendered":"Add bread crumbs (with the yoast plugin)"},"content":{"rendered":"\n<p>Enable breadcrumbs in Yoast:<\/p>\n\n\n\n<p>Search appearance > breadcrumbs<\/p>\n\n\n\n<p>Then add this somewhere in your template:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n    if ( $post->post_parent ) { \/\/ optional only add breadcrumbs if the page is a child-page\n      if ( function_exists('yoast_breadcrumb') ) {\n        yoast_breadcrumb( '&lt;p id=\"breadcrumbs\">','&lt;\/p>' );\n      }\n    }\n  ?>\n&lt;?php<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enable breadcrumbs in Yoast: Search appearance > breadcrumbs Then add this somewhere in your template:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17],"tags":[520,18,92],"acf":[],"_links":{"self":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/13436"}],"collection":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/comments?post=13436"}],"version-history":[{"count":1,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/13436\/revisions"}],"predecessor-version":[{"id":13437,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/13436\/revisions\/13437"}],"wp:attachment":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/media?parent=13436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/categories?post=13436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/tags?post=13436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}