Created
November 19, 2015 03:18
-
-
Save reasonstousegenesis/d531400e126b74886287 to your computer and use it in GitHub Desktop.
Add an image before the site title with Genesis
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' ); | |
function rtug_title_image() { | |
echo '<img src="http://example.com/wp-content/themes/yourtheme/images/title.png">'; // replace with your image URL | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment