Tutorial - How to change wordpress logo with external image link? | Vevioz Developers

Tutorial How to change wordpress logo with external image link?

DevOps

Linux Systems Engineer
Joined
Oct 18, 2019
Messages
219
Reaction score
23
Points
18
Location
Novosibirsk, Russia
Website
addons.vevioz.com
Offline
edit inc/template-tags.php

With custom ALT
PHP:
echo '<img src="https://imgbb.com/img/images.png" alt="your alt" title="' . esc_html( get_bloginfo( 'name' ) ) . '" />';

Default ALT
PHP:
echo '<img src="https://1757140519.rsc.cdn77.org/blog/wp-content/uploads/2018/05/1-google-logo.png" alt="' . esc_html( get_bloginfo( 'name' ) ) . '" title="' . esc_html( get_bloginfo( 'name' ) ) . '" />';
 
Top Bottom