ID ) ) { $content = '
' . get_the_post_thumbnail( $post->ID ) . '
' . $content; } return $content; } public static function date_i18n( $format, $timestamp, $timezone ){ try{ $timezone = new DateTimeZone( trim( $timezone ) ); }catch( Exception $e ) { $timezone = new DateTimeZone( 'UTC' ); } $date = wp_date( $format, $timestamp, $timezone ); return $date; } } SRR_Utilities::init(); ?>