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:
parent
61948a6d15
commit
d5422b2697
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue