Fix event-date showing at countdown widget

This commit is contained in:
savvasha
2018-10-01 10:40:23 +03:00
parent b76b506a35
commit 3277f1646b
2 changed files with 6 additions and 4 deletions

View File

@@ -251,7 +251,8 @@
.sp-template-countdown .sp-event-name,
.sp-template-countdown .sp-event-venue,
.sp-template-countdown .sp-event-league {
.sp-template-countdown .sp-event-league,
.sp-template-countdown .sp-event-date {
margin: 0 !important;
padding: 5px 10px !important;
text-align: center !important;
@@ -270,7 +271,8 @@
}
.sp-template-countdown .sp-event-venue,
.sp-template-countdown .sp-event-league {
.sp-template-countdown .sp-event-league,
.sp-template-countdown .sp-event-date {
font-size: 12px !important;
font-weight: 500 !important;
background: #fff !important;

View File

@@ -107,7 +107,7 @@ if ( $link_events ) $title = '<a href="' . get_post_permalink( $post->ID, false,
</h3>
<?php
if ( isset( $show_date ) && $show_date ):
if ( isset( $event_date ) ):
//if ( isset( $event_date ) ):
?>
<h5 class="event-date sp-event-date">
<?php
@@ -115,7 +115,7 @@ if ( $link_events ) $title = '<a href="' . get_post_permalink( $post->ID, false,
?>
</h5>
<?php
endif;
//endif;
endif;
if ( isset( $show_venue ) && $show_venue ):