publishing issues remain

This commit is contained in:
Chris Punches
2021-01-12 18:21:22 -05:00
parent dfa8ad0b48
commit 00c1b4d7d4
13 changed files with 172 additions and 63 deletions

5
content.php Executable file → Normal file
View File

@@ -9,7 +9,10 @@ $thumbnail = get_the_post_thumbnail_url(get_the_ID(), 'featuredImageCropped');
<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>
<?php
$get_theme_date_opt = get_theme_mod( 'article_shows_date' );
if ($get_theme_date_opt) { ?>
<div class="post-meta"><?php echo get_the_date('Y-m-d'); ?></div><?php } ?>
</a>
</li>
</ul>