Support » Plugin: TM Timeline » Change date format to full length?

  • Hi, first off very nice plugin, works great and looks awesome.

    Id like to change the date from 2005-11-15 to December 15th, 2005. Any tips? Im using the chess order.


Viewing 1 replies (of 1 total)
  • Plugin Author Zemez


    Hello, mattmagi.

    In version 1.0.4, plugin support a limited date formats. If you want to change date like December 15th, 2005, copy and paste code below in your functions.php:

    add_filter( 'tm_timeline_format_date', 'mytheme_timeline_format_date', 11, 2 );
    function mytheme_timeline_format_date( $date, $format ) {
    	return date_i18n( 'F j, Y', strtotime( $date ) );
Viewing 1 replies (of 1 total)
  • The topic ‘Change date format to full length?’ is closed to new replies.