sometimes I do weird things

This commit is contained in:
Chris Punches
2018-01-29 22:46:03 -05:00
commit 5eb0189517
20 changed files with 2507 additions and 0 deletions

15
content.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
$thumbnail = get_the_post_thumbnail_url(get_the_ID(), 'featuredImageCropped');
?>
<ul class="post-list">
<li class="post-item grid-item" style="background-image: url(<?php echo $thumbnail; ?>);">
<a class="post-link" href="<?php the_permalink(); ?>">
<h3 class="post-title"><?php the_title(); ?></h3>
<div class="post-meta"><?php echo get_the_date('Y-m-d'); ?></div>
</a>
</li>
</ul>