实现让WordPress显示时间为几天前
在functions.php添加代码: function Bing_filter_time() { global $post ; $to = time(); $from = get_the_time(‘U’) ; $diff = (int) abs($to – $from); if ($diff <= 3600) { $mins = round($diff / 60); if ($mins
阅读更多 »
在functions.php添加代码: function Bing_filter_time() { global $post ; $to = time(); $from = get_the_time(‘U’) ; $diff = (int) abs($to – $from); if ($diff <= 3600) { $mins = round($diff / 60); if ($mins
阅读更多 »