Last active
November 27, 2019 00:48
-
-
Save Olein-jp/e6651e46ead017a00c52c2652e3059b7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<header | |
class="hogehoge" | |
<?php if ( has_post_thumbnail() ) : ?> | |
style="background-image: url(<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>)" | |
<?php endif; ?> | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment