Fix note display

This commit is contained in:
Ben Goldsworthy 2021-03-16 09:32:44 +00:00
parent 9b52bc4a50
commit 1f3edda399

View file

@ -31,7 +31,7 @@
<!-- Post Notes --> <!-- Post Notes -->
<?php $date1 = strtotime( get_the_date( 'Y-m-d' ) ); ?> <?php $date1 = strtotime( get_the_date( 'Y-m-d' ) ); ?>
<?php $date2 = strtotime( gmdate( 'Y-m-d' ) ); ?> <?php $date2 = strtotime( gmdate( 'Y-m-d' ) ); ?>
<?php if ( has_category( 'series' ) || has_tag( 'ohwhatohjeez' ) || get_post_meta( get_the_ID(), 'Note(s)', true ) || get_post_meta( get_the_ID(), 'License', true ) || ( $date1 < $date2 - 31557600 ) ) : ?> <?php if ( has_category( 'series' ) || has_tag( 'ohwhatohjeez' ) || get_post_meta( get_the_ID(), 'Note', true ) || get_post_meta( get_the_ID(), 'License', true ) || ( $date1 < $date2 - 31557600 ) ) : ?>
<div id="details"> <div id="details">
<ul> <ul>