Support » Plugin: Timeline Express » format announcment date according to settings

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Scharc,

    I will look into adding the correct date formatting to the plugin when I arrive back home.

    Thanks,
    Evan

    awesome! thanks a lot…

    maybe add a settings field for custom format? like only show year or month + year?

    Hey Evan,

    maybe you find time to add the localized date in the next update?

    Thanks,

    scharc

    Plugin Author Evan Herman

    (@eherman24)

    Hey Scharc,

    I am pushing out a new update as we speak that takes into account the ‘General > Settings’ date formatting and uses that for display on the front end.

    If that isn’t good enough, we’ve gone ahead and added in a custom filter to allow you to format the dates however you see fit.

    Here is an example function utilizing the new filter to alter the date formatting on the front end :

    function custom_te_date_format( $date_format ) {
        $date_format = "l jS \of\ F"; // will print the date as Wednesday 19th of November
        return $date_format;
    }
    add_filter( 'timeline_express_custom_date_format' , 'custom_te_date_format' , 10 );

    In the previous update I’ve included auto updates to the plugin so that all users remain on the same versions (unless they have specifically excluded our plugin from auto updates).

    You should most likely have the update within the hour, depending on when the WordPress repository cache refreshes.

    Thanks!

    Evan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘format announcment date according to settings’ is closed to new replies.