This file contains hidden or 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 hidden or 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 hidden or 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
//* ability to upload svgs | |
function cc_mime_types($mimes) { | |
$mimes['svg'] = 'image/svg+xml'; | |
return $mimes; | |
} | |
add_filter('upload_mimes', 'cc_mime_types'); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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> |
OlderNewer