Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Add an image before the site title with Genesis
<?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