Created
November 23, 2013 11:03
-
-
Save dompascal/7613293 to your computer and use it in GitHub Desktop.
WP - Logo
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 --> | |
<a class="logo" href="<?php echo home_url( '/' ); ?>"> | |
<?php $image = wp_get_attachment_image_src(get_field('logo', 'option'), 'popup'); ?> | |
<img src="<?php echo $image[0]; ?>" alt="" /> | |
</a> | |
<!-- end logo --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment