Mac Sparrow

Mac Sparrow
Display Name
Mac Sparrow
First Name
Mac Sparrow

“` function mj_post_older_than_a_year() { $today = strtotime(“today”); //echo ” today: ” . $today; $oneyear = strtotime(“-1 year”, $today); //echo ” 1year: ” . $oneyear; $postdate = strtotime(get_the_date()); //echo ” pdate: ” . $postdate; if ($postdate <= $oneyear) { echo ” This post is more than a year old, so the information may be outdated. Just … Continue reading “Display Message if Post is older than 1 year”