Update Custom Logo Tags

*Fixes empty alt tag
*Adds title to Logo

Signed-off-by: Jessica Jean Suderno <jessicajsuderno@gmail.com>
This commit is contained in:
Jessica Jean Suderno 2017-01-11 15:40:44 -08:00
parent 61948a6d15
commit d5422b2697
1 changed files with 2 additions and 0 deletions

View File

@ -66,8 +66,10 @@ if ( ! function_exists( 'change_logo_class' ) ) {
* @return mixed
*/
function change_logo_class( $html ) {
$html = str_replace( 'class="custom-logo"', 'class="img-responsive"', $html );
$html = str_replace( 'class="custom-logo-link"', 'class="navbar-brand custom-logo-link"', $html );
$html = str_replace('alt=""', 'title="Home" alt="logo"' , $html );
return $html;
}