fixed date toggle on right
This commit is contained in:
@@ -94,7 +94,10 @@ get_header();
|
|||||||
<li class="post-item grid-item" style="background-image: url(<?php echo $next_thumb; ?>);">
|
<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 ) ); ?>">
|
<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>
|
<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>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -542,8 +542,8 @@ pre code{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hover over article border color
|
// hover over article border color
|
||||||
.post-list>li .post-link:hover{
|
.post-list>li .post-link:hover{
|
||||||
border-color: #d371ff;
|
border-color: #d371ff;
|
||||||
text-shadow: 2px 2px 5px blue;
|
text-shadow: 2px 2px 5px blue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user