Created
October 5, 2015 07:52
-
-
Save cadoo/5720831fdab0d75be9db to your computer and use it in GitHub Desktop.
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
<article id="post-<?php the_ID(); ?>" <?php post_class( 'hentry--masonry' ); ?>> | |
<div class="entry-wrap"> | |
<a href="<?php echo esc_url( get_permalink() ); ?>"> | |
<div class="entry-image"> | |
<?php if ( has_post_thumbnail() ) : ?> | |
<?php the_post_thumbnail( 'post-thumb-cropped' ); ?> | |
<?php else : ?> | |
<img src="<?php echo get_stylesheet_directory_uri(); ?>/assets/images/post-thumb-cropped.svg" alt="thumbnail"> | |
<?php endif; ?> | |
</div> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment