Hi @technomediapei,
To maintain a proper order on the timeline, the announcements require a month & day. However, on the frontend of the site, you can easily customize the date formats using our built in filters. Take a look at our documentation on setting up a custom date:
https://www.wp-timelineexpress.com/documentation/change-announcement-date-format/
In your case, you would use a function similar to the following to limit the dates to only display the year:
/**
* The following function will alter the default date formats
* and display them in the format '2016'
*/
function custom_te_date_format( $date_format ) {
$date_format = "Y"; // will print the date as 2016
return $date_format;
}
add_filter( 'timeline_express_custom_date_format' , 'custom_te_date_format' );
You’ll want to add that snippet to your themes functions.php file. IF you are unfamiliar with editing that file, you can use a plugin to add the snippet. One plugin we recommend to carry out the task is My Custom Functions.
-
This reply was modified 8 years, 5 months ago by Code Parrots.