This topic has 4 replies, 2 voices, and was last updated 11 years, 11 months ago by liconet.
Viewing 5 posts - 1 through 5 (of 5 total)
in the wordpress settings general i have this format: d.m.Y
but for the “Event” template and in the single events its: 2014-02-14
i tried to change it also in folder framework/custom-meta/meta-generator.php on line 290
$eventdate = get_post_meta( $post->ID, $field['id'], true );
if( $eventdate !='' ){
if( is_numeric( $eventdate ) ){
$meta= date( $default_date, get_post_meta( $post->ID, $field['id'], true) );
}else{
$meta = $eventdate;
$atp_defaultdate = 'dd-mm-yy';
}
}
and in framework/custom-meta/events-meta.php on line 297
'fields'=> array(
array(
'name' => __('Events Date','ATP_ADMIN_SITE'),
'desc' => 'Type the text you wish to display in the Events Time element',
'id' => 'event_date',
'title' => 'Event & Date',
'std' => date('dd-mm-yy'),
'type' => 'dateformat',
You were not specific for that events i thought for something else anyway for events you can’t set the date format in different formats. We will see if we can add a new formats in the coming updates for the theme where you can have some variations for the dates display as well. But currently its not there in the theme options you need to hardcode the php files.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.