{"id":59920,"date":"2025-04-16T07:18:52","date_gmt":"2025-04-16T07:18:52","guid":{"rendered":"https:\/\/muhammad.dev\/?p=59920"},"modified":"2025-04-16T07:27:44","modified_gmt":"2025-04-16T07:27:44","slug":"breadcrumbs-wp","status":"publish","type":"post","link":"https:\/\/muhammad.dev\/breadcrumbs-wp\/","title":{"rendered":"DIY Breadcrumbs in WordPress with Full Site Editing"},"content":{"rendered":"\n<p>Let&#8217;s look at how you can use Gutenberg and Full Site Editing to create Breadcrumbs for your WordPress site.<\/p>\n\n\n\n<p>You would need to install the latest version of WordPress and a plugin that has FSE (Full Site Editing) support.<\/p>\n\n\n\n<p>You would also require the <a href=\"https:\/\/wordpress.org\/plugins\/icon-block\/\">The Icon Block by Nick Diego<\/a>.<\/p>\n\n\n\n<p>Here&#8217;s the code. You can copy it and paste it in your Single Post template.<\/p>\n\n\n\n<pre class=\"wp-block-code has-accent-5-color has-contrast-background-color has-text-color has-background has-link-color wp-elements-35b3d3b7e984a50e5cf848b8de300c7e\"><code>&lt;!-- wp:group {\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} --&gt;\n&lt;div class=\"wp-block-group\"&gt;&lt;!-- wp:outermost\/icon-block {\"iconName\":\"wordpress-home\",\"iconColor\":\"secondary\",\"iconColorValue\":\"#0099ff\",\"linkUrl\":\"\/\",\"width\":\"24px\"} --&gt;\n&lt;div class=\"wp-block-outermost-icon-block\"&gt;&lt;a class=\"icon-container has-icon-color has-secondary-color\" href=\"\/\" style=\"color:#0099ff;width:24px\"&gt;&lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"&gt;&lt;path d=\"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z\"&gt;&lt;\/path&gt;&lt;\/svg&gt;&lt;\/a&gt;&lt;\/div&gt;\n&lt;!-- \/wp:outermost\/icon-block --&gt;\n\n&lt;!-- wp:outermost\/icon-block {\"iconName\":\"wordpress-chevronRight\",\"customIconColor\":\"#7e7e7e\",\"iconColorValue\":\"#7e7e7e\",\"width\":\"24px\"} --&gt;\n&lt;div class=\"wp-block-outermost-icon-block\"&gt;&lt;div class=\"icon-container has-icon-color\" style=\"color:#7e7e7e;width:24px\"&gt;&lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"&gt;&lt;path d=\"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z\"&gt;&lt;\/path&gt;&lt;\/svg&gt;&lt;\/div&gt;&lt;\/div&gt;\n&lt;!-- \/wp:outermost\/icon-block --&gt;\n\n&lt;!-- wp:post-terms {\"term\":\"category\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|secondary\"}}}},\"textColor\":\"secondary\",\"className\":\"text-decoration-none\",\"fontSize\":\"small\"} \/--&gt;\n\n&lt;!-- wp:outermost\/icon-block {\"iconName\":\"wordpress-chevronRight\",\"customIconColor\":\"#7e7e7e\",\"iconColorValue\":\"#7e7e7e\",\"width\":\"24px\"} --&gt;\n&lt;div class=\"wp-block-outermost-icon-block\"&gt;&lt;div class=\"icon-container has-icon-color\" style=\"color:#7e7e7e;width:24px\"&gt;&lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"&gt;&lt;path d=\"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z\"&gt;&lt;\/path&gt;&lt;\/svg&gt;&lt;\/div&gt;&lt;\/div&gt;\n&lt;!-- \/wp:outermost\/icon-block --&gt;\n\n&lt;!-- wp:post-title {\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\"},\"color\":{\"text\":\"#4a4949\"}},\"fontSize\":\"small\"} \/--&gt;&lt;\/div&gt;\n&lt;!-- \/wp:group --&gt;\n\n&lt;!-- wp:separator {\"style\":{\"color\":{\"background\":\"#a8a8a8\"}},\"className\":\"is-style-wide\"} --&gt;\n&lt;hr class=\"wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide\" style=\"background-color:#a8a8a8;color:#a8a8a8\"\/&gt;\n&lt;!-- \/wp:separator --&gt;<\/code><\/pre>\n\n\n\n<p>Once copied and saved, the frontend of the template would look something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"790\" src=\"https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/Screenshot-2025-04-16-at-12.46.26%E2%80%AFPM.png?resize=1024%2C790&#038;ssl=1\" alt=\"\" class=\"wp-image-59924\" srcset=\"https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/Screenshot-2025-04-16-at-12.46.26%E2%80%AFPM.png?resize=1024%2C790&amp;ssl=1 1024w, https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/Screenshot-2025-04-16-at-12.46.26%E2%80%AFPM.png?resize=600%2C463&amp;ssl=1 600w, https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/Screenshot-2025-04-16-at-12.46.26%E2%80%AFPM.png?resize=300%2C231&amp;ssl=1 300w, https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/Screenshot-2025-04-16-at-12.46.26%E2%80%AFPM.png?resize=768%2C593&amp;ssl=1 768w, https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/Screenshot-2025-04-16-at-12.46.26%E2%80%AFPM.png?w=1908&amp;ssl=1 1908w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to create clean, custom breadcrumbs in WordPress using Gutenberg and Full Site Editing\u2014no breadcrumbs plugins required. Follow this step-by-step guide to enhance your site\u2019s navigation and user experience with just a few blocks.<\/p>\n","protected":false},"author":1,"featured_media":59922,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[43,52,113],"class_list":["post-59920","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gutenberg","tag-development","tag-gutenberg","tag-wordpress"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/muhammad.dev\/wp-content\/uploads\/2025\/04\/diy-breadcrumbs.png?fit=1536%2C1024&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/posts\/59920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/comments?post=59920"}],"version-history":[{"count":4,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/posts\/59920\/revisions"}],"predecessor-version":[{"id":59928,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/posts\/59920\/revisions\/59928"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/media\/59922"}],"wp:attachment":[{"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/media?parent=59920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/categories?post=59920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muhammad.dev\/wp-json\/wp\/v2\/tags?post=59920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}