{"id":10212,"date":"2014-11-28T17:49:16","date_gmt":"2014-11-28T11:49:16","guid":{"rendered":"http:\/\/devstech.com\/?p=10212"},"modified":"2024-12-01T21:54:17","modified_gmt":"2024-12-01T15:54:17","slug":"modify-breadcrumbs-home-link-genesis","status":"publish","type":"post","link":"https:\/\/www.usefulblogging.com\/modify-breadcrumbs-home-link-genesis\/","title":{"rendered":"How to Modify Breadcrumbs Home Link in Genesis Theme?"},"content":{"rendered":"\n<p>Genesis Framework : In this short tutorial, you&#8217;ll learn about how to <em>Modify Breadcrumbs Home Link in Genesis<\/em>. The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you&#8217;re a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. In Genesis powered websites you&#8217;ve to modify the child theme which is running on.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Anyway, these code snippets will help you&nbsp;to&nbsp;Modify Breadcrumbs Home Link in Genesis Framework.<span id=\"more-10205\"><\/span><span id=\"more-10193\"><\/span><span id=\"more-9992\"><\/span><span id=\"more-9971\"><\/span><span id=\"more-9949\"><\/span><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Unless otherwise indicated, the code snippets you see below should be placed into your theme\u2019s functions.php file.<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Modify Breadcrumbs Home Link in Genesis<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Below is the code to Modify Breadcrumbs Home Link:<\/strong><br><code><!--?php \/\/* Do NOT include the opening php tag \/\/* Modify Home breadcrumb link. add_filter ( 'genesis_home_crumb', 'sp_breadcrumb_home_link' ); \/\/ Genesis -->= 1.5<br>\nadd_filter ( 'genesis_breadcrumb_homelink', 'sp_breadcrumb_home_link' ); \/\/ Genesis =&lt; 1.4.1<br>\nfunction sp_breadcrumb_home_link( $crumb ) {<br>\nreturn preg_replace('\/href=\"[^\"]*\"\/', 'href=\"https:\/\/example.com\/home\"', $crumb);<br>\n} <\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Words<\/h2>\n\n\n\n<p>I strongly recommended to take <strong>backup core files<\/strong> before customizing any Genesis Child Theme. Hope the above Genesis Tutorial was helpful and valued for you. Please don&#8217;t forget to share this with social friends and write a comment below if you need any assistance in customizing the look of your WordPress websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Genesis Framework : In this short tutorial, you&#8217;ll learn about how to Modify Breadcrumbs Home Link in Genesis. The Genesis &#8230; <a title=\"How to Modify Breadcrumbs Home Link in Genesis Theme?\" class=\"read-more\" href=\"https:\/\/www.usefulblogging.com\/modify-breadcrumbs-home-link-genesis\/\" aria-label=\"Read more about How to Modify Breadcrumbs Home Link in Genesis Theme?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":31108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[876,568,122,870],"class_list":["post-10212","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genesis-framework","tag-breadcrumbs","tag-code-snippets","tag-genesis","tag-modify","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33","no-featured-image-padding"],"_links":{"self":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/comments?post=10212"}],"version-history":[{"count":0,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10212\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/media\/31108"}],"wp:attachment":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/media?parent=10212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/categories?post=10212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/tags?post=10212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}