f9bd478c by Jeremy Groot

fix to post time

1 parent c00419c7
......@@ -276,7 +276,7 @@ function resources($id, $taxes, $is_fav = false){
$post_date = strtotime(get_post_meta($id, 'searchwp_content_pdf_metadata', true)['CreationDate']);
if(empty($post_date)) {
$post_date = strtotime($post->post_date);
$post_date = get_post_time('U',false, $id );
}
$categories = [];
......