{"id":10173,"date":"2014-11-28T07:39:25","date_gmt":"2014-11-28T01:39:25","guid":{"rendered":"http:\/\/devstech.com\/?p=10173"},"modified":"2026-02-08T03:29:45","modified_gmt":"2026-02-07T21:29:45","slug":"modify-header-url-genesis","status":"publish","type":"post","link":"https:\/\/www.usefulblogging.com\/modify-header-url-genesis\/","title":{"rendered":"How to Modify Header URL in Genesis Theme?"},"content":{"rendered":"\n<p>Genesis Framework : In this short tutorial, you\u2019ll learn about how to <em>Modify Header URL in Genesis<\/em>. The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you\u2019re 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>These code snippets will help you to&nbsp;Modify Header URL with the Genesis Framework. <span id=\"more-10164\"><\/span><span id=\"more-10150\"><\/span><span id=\"more-10135\"><\/span><span id=\"more-9933\"><\/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 <strong>functions.php<\/strong> file.<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Modify Header URL 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 the header URL of your site with an HTML5 Child Theme:<\/strong><br><code>&lt;?php<br>\n\/\/* Do NOT include the opening php tag<br>\n\/\/* Modify the header URL - HTML5 Version<br>\nadd_filter( 'genesis_seo_title', 'child_header_title', 10, 3 );<br>\nfunction child_header_title( $title, $inside, $wrap ) {<br>\n$inside = sprintf( '&lt;a href=\"https:\/\/example.com\/\" title=\"%s\"&gt;%s&lt;\/a&gt;', esc_attr( get_bloginfo( 'name' ) ), get_bloginfo( 'name' ) );<br>\nreturn sprintf( '&lt;%1$s class=\"site-title\"&gt;%2$s&lt;\/%1$s&gt;', $wrap, $inside );<br>\n}<\/code><br><strong>Below is the code to modify the header URL of your site with an XHTML Child Theme:<\/strong><br><code>&lt;?php<br>\n\/\/* Do NOT include the opening php tag<br>\n\/\/* Modify the header URL - XHTML Version<br>\nadd_filter('genesis_seo_title', 'sp_seo_title', 10, 3);<br>\nfunction sp_seo_title($title, $inside, $wrap) {<br>\n$inside = sprintf( '&lt;a href=\"https:\/\/www.yourdomain.com\" title=\"%s\"&gt;%s&lt;\/a&gt;', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );<br>\n$title = sprintf('&lt;%s id=\"title\"&gt;%s&lt;\/%s&gt;', $wrap, $inside, $wrap);<br>\nreturn $title;<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\u2019ll learn about how to Modify Header URL in Genesis. The Genesis Framework &#8230; <a title=\"How to Modify Header URL in Genesis Theme?\" class=\"read-more\" href=\"https:\/\/www.usefulblogging.com\/modify-header-url-genesis\/\" aria-label=\"Read more about How to Modify Header URL 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":[568,122],"class_list":["post-10173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genesis-framework","tag-code-snippets","tag-genesis","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\/10173","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=10173"}],"version-history":[{"count":1,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10173\/revisions"}],"predecessor-version":[{"id":86590,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10173\/revisions\/86590"}],"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=10173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/categories?post=10173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/tags?post=10173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}