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
<?php | |
// Default content hooked to genesis_site_description | |
// lib/structure/header.php | |
add_action( 'genesis_site_description', 'genesis_seo_site_description' ); |
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add a placeholder description if none is set | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/site-description/ | |
*/ | |
add_action( 'genesis_site_description', 'rtug_placeholder_description' ); |
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add the breadcrumb trail after the site description | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/site-description/ | |
*/ | |
add_action( 'genesis_site_description', 'genesis_do_breadcrumbs' ); |
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add extra content to the site description area with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/site-description/ | |
*/ | |
add_action( 'genesis_site_description', 'your_function_here' ); // replace your_function_here with your function |
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
<?php | |
// Default content hooked to genesis_site_title | |
// lib/structure/header.php | |
add_action( 'genesis_site_title', 'genesis_seo_site_title' ); |
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
<header class="site-header"> | |
<div class="wrap"> | |
<div class="title-area"> | |
<!-- genesis_site_title 0–9 --> | |
<p class="site-title"></p> | |
<!-- genesis_site_title 10+ --> | |
<!-- genesis_site_description 0–9 --> | |
<p class="site-description"></p> | |
<!-- genesis_site_description 10+ --> | |
</div> |
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add an image before the site title with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/site-title/ | |
*/ | |
add_action( 'genesis_site_title', 'rtug_title_image' ); |
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add extra content to the site title area with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/site-title/ | |
*/ | |
add_action( 'genesis_site_title', 'your_function_here' ); // replace your_function_here with your function |
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
/* Paste the code BELOW this line into your child theme stylesheet. */ | |
.your-theme-blue a { | |
color: #2F82F7; | |
} | |
.your-theme-orange a { | |
color: #E54D24; | |
} |
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Create a recolorable theme with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/genesis-style-selector/ | |
*/ | |
add_theme_support( 'genesis-style-selector', array( |
NewerOlder