Last active
November 22, 2016 19:22
-
-
Save mikeoberdick/d10e8845ea8dffebbffd5aa5bf3c24c0 to your computer and use it in GitHub Desktop.
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
#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%; | |
} |
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
//* 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