Skip to content

Instantly share code, notes, and snippets.

@mikeoberdick
Last active November 22, 2016 19:22
Show Gist options
  • Save mikeoberdick/d10e8845ea8dffebbffd5aa5bf3c24c0 to your computer and use it in GitHub Desktop.
Save mikeoberdick/d10e8845ea8dffebbffd5aa5bf3c24c0 to your computer and use it in GitHub Desktop.
#title a {
background: url(http://rossoncpa.com/blog/wp-content/uploads/2016/10/rosson-logo.jpg) no-repeat !important;
background-position: center !important;
background-size: contain !important;
float: left;
min-height: 80px;
width: 100%;
}
//* Logo URL
function d4tw_logo_url( $title, $inside, $wrap ) {
$inside = sprintf( '<a href="%s" title="%s"></a>', esc_url( 'http://www.mainpagehere.com' ), esc_attr( get_bloginfo( 'name' ) ), get_bloginfo( 'name' ) );
$title = sprintf( '<%s id="title">%s</%s>', $wrap, $inside, $wrap );
return $title;
}
add_filter( 'genesis_seo_title', 'd4tw_logo_url', 10, 3 );
//* Remove the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment