fixed date toggle on right

master
Chris Punches 2021-01-12 18:46:44 -05:00
parent d14de1f704
commit f2bda84687
2 changed files with 6 additions and 3 deletions

View File

@ -94,7 +94,10 @@ get_header();
<li class="post-item grid-item" style="background-image: url(<?php echo $next_thumb; ?>);">
<a class="post-link" href="<?php echo esc_url( get_permalink( $next_post->ID ) ); ?>">
<h3 class="post-title"><?php echo esc_attr( $next_post->post_title ); ?></h3>
<div class="post-meta"><?php echo esc_attr( $next_post->post_date ); ?></div>
<?php
$get_theme_date_opt = get_theme_mod( 'article_shows_date' );
if ($get_theme_date_opt) {
<div class="post-meta"><?php echo esc_attr( $next_post->post_date ); ?></div><?php } ?>
</a>
</li>
</ul>