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 characters
add_filter( 'genesis_seo_title', 'child_header_title', 10, 3 ); | |
/** | |
* Change default Header URL. | |
* | |
* @author Jen Baumann | |
* @link http://dreamwhisperdesigns.com/genesis-tutorials/change-genesis-header-home-link/ | |
*/ | |
function child_header_title( $title, $inside, $wrap ) { | |
$inside = sprintf( '<a href="http://example.com/" title="%s">%s</a>', esc_attr( get_bloginfo( 'name' ) ), get_bloginfo( 'name' ) ); | |
return sprintf( '<%1$s class="site-title">%2$s</%1$s>', $wrap, $inside ); |
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 characters
//* Display a custom favicon | |
add_filter( 'genesis_pre_load_favicon', 'sp_favicon_filter' ); | |
function sp_favicon_filter( $favicon_url ) { | |
return 'IMAGEURL'; | |
} |
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 characters
/*change entry title of custom post type */ | |
function change_default_title( $title ){ | |
$screen = get_current_screen(); | |
if ( $screen->post_type == 'faq' ) { | |
return 'Question'; | |
} | |
} | |
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 characters
<ul id="breakfast-benefits"> | |
<li>Less visits to nurse</li> | |
<li>Less behavior problems</li> | |
<li>Greater attention span</li> | |
<li>Higher academic acheivement</li> | |
</ul> |
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 characters
<ol id="start-program"> | |
<li>Share 2014 CT School Breakfast Report on Social Media</li> | |
<li>Download School Nutrition Hub Guide</li> | |
<li>Download Template Letter to the Editor for School Breakfast Program.</li> | |
<li>Increase Participation in Your School Breakfast Program. Learn more.</li> | |
</ol> |
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 characters
#breakfast-benefits { | |
float:left; position:relative; | |
} | |
#breakfast-benefits li { | |
list-style-type:none; | |
padding-left:30px; | |
} | |
#breakfast-benefits li:before { | |
content: "■"; | |
color:#61c0e1; |
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 characters
#start-program li { | |
list-style-type:none; | |
font-weight:bold; | |
line-height:180%; | |
margin:0 0 60px 0; | |
padding-left:60px; | |
position:relative; | |
min-height:50px; | |
} |
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 characters
/** Customize search form input box text */ | |
add_filter( 'genesis_search_text', 'custom_search_text' ); | |
function custom_search_text($text) { | |
return esc_attr( 'Search Text You Want Here' ); | |
} |
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 characters
<a href="http://twitter.com/home/?status=You are your own biggest asset and your own biggest liability but you have to believe in you.via @natewilldo" target="_blank">tweet this</a> |
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 characters
/* Code to Display Featured Image on top of the post */ | |
add_action( 'genesis_before_entry', 'featured_post_image', 8 ); | |
function featured_post_image() { | |
if ( ! is_singular( 'post' ) ) return; | |
the_post_thumbnail('post-image'); | |
} |
OlderNewer