Last active
October 20, 2019 10:54
-
-
Save vanaf1979/d94d3d8bedece644722cd9fae175e27c to your computer and use it in GitHub Desktop.
Gist for my article: WordPress: Add custom logo support to your theme. https://vanaf1979.nl/wordpress-add-custom-logo-support-to-your-theme/
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
<a href="http://example.com/" class="custom-logo-link" rel="home"> | |
<img | |
width="572" | |
height="179" | |
src="http://example.com/wp-content/uploads/2019/10/logo-image.jpg" | |
class="custom-logo" | |
alt="Skalet" | |
srcset="http://example.com/wp-content/uploads/2019/10/logo-image.jpg 572w, http://skalet.test/wp-content/uploads/2019/10/logo-image.jpg-300x94.jpg 300w" | |
sizes="(max-width: 572px) 100vw, 572px" | |
/> | |
</a> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment