/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php //to check against expiration date; $expirationdate = get_post_custom_values('expiration'); $expirestring = '30005050235959'; //MAKE UN-EXPIRING POSTS ALWAYS SHOW UP; } else { } } //else if (( $expirestring > $currentdate ) || (is_archive())) { ?>