Don't show countdown if nothing available
This commit is contained in:
@@ -31,7 +31,7 @@ endif;
|
|||||||
|
|
||||||
extract( $defaults, EXTR_SKIP );
|
extract( $defaults, EXTR_SKIP );
|
||||||
|
|
||||||
if ( ! isset( $post ) ) return;
|
if ( ! isset( $post ) || ! $post ) return;
|
||||||
|
|
||||||
if ( $title )
|
if ( $title )
|
||||||
echo '<h4 class="sp-table-caption">' . $title . '</h4>';
|
echo '<h4 class="sp-table-caption">' . $title . '</h4>';
|
||||||
|
|||||||
Reference in New Issue
Block a user