Last active
February 17, 2016 02:45
Revisions
-
srikat revised this gist
Apr 25, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_filter( 'genesis_seo_title', 'custom_genesis_seo_title', 10, 1 ); /** * Replace Site Title text entered in Settings > Reading with custom HTML. * @author Sridhar Katakam * @link http://sridharkatakam.com/replace-site-title-text-custom-html-genesis/ * -
srikat revised this gist
Apr 25, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ <?php //* Do NOT include the opening php tag add_filter( 'genesis_seo_title', 'custom_genesis_seo_title', 10, 1 ); /** * Replace Site Title text entered in Settings > Reading with custom HTML -
srikat revised this gist
Apr 25, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ /** * Replace Site Title text entered in Settings > Reading with custom HTML * @author Sridhar Katakam * @link http://sridharkatakam.com/replace-site-title-text-custom-html-genesis/ * * @param string original title text * @return string modified title HTML -
srikat revised this gist
Apr 25, 2014 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,5 @@ */ function custom_genesis_seo_title( $title ) { $title = '<h1 itemprop="headline" class="site-title"><a title="Homepage" href="' . get_bloginfo('url') . '">Custom <span style="color: #0f709e">HTML</span> here</a></h1>'; return $title; } -
srikat created this gist
Apr 25, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ add_filter( 'genesis_seo_title', 'custom_genesis_seo_title', 10, 1 ); /** * Replace Site Title text entered in Settings > Reading with custom HTML * @author Sridhar Katakam * @link http://sridharkatakam.com * * @param string original title text * @return string modified title HTML */ function custom_genesis_seo_title( $title ) { $title = '<h1 itemprop="headline" class="site-title"><a title="Homepage" href="' . get_bloginfo('url') . '">Custom <span style="color: #0f709e">HTML</span> here</a></h1>'; return $title; }