publishing issues remain
This commit is contained in:
5
content.php
Executable file → Normal file
5
content.php
Executable file → Normal 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>
|
||||
|
||||
Reference in New Issue
Block a user