Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi @ilgrizly !

    If you mean showing the year of the event in the output of the [ecs-list-events] shortcode, that is determined by the “Date without year format” setting for events happening this year. There you could make the format the same as the “Date with year format” or something like F j, Y to show the year.

    Alternatively, with the pro version, you can modify the template to define a format with the year.

    Hope that helps, any other questions let us know!

    Thread Starter ilgrizly

    (@ilgrizly)

    And how do i change it to TO Date with year format ?

    Plugin Author Brian Hogg

    (@brianhogg)

    Hi @ilgrizly !

    I’m not sure I understand the question. Are you looking to change the date format of our [ecs-list-events] shortcode, without modifying the Date Without Year format? If so, since we are using the same date format provided by The Events Calendar, the “Date Without Year” format would currently need to be changed in order to have it display how you’d like.

    If you could confirm what you’re looking to do we can confirm.

    Cheers!

    Thread Starter ilgrizly

    (@ilgrizly)

    no I would like to have the year visible at every event ex: July 6th from 9pm to 11pm year 2024

    near the title

    because there are people who arrive directly on the event list page from search engines and don’t understand if it is an event from this year or if it has already expired

    Plugin Author Brian Hogg

    (@brianhogg)

    HI @ilgrizly,

    Thanks for the additional detail!

    You can have the year display by editing the “Date without year” format under Events > Settings, Display tab, then under Date & Time edit the “Date without year format” to include a year ie.

    F j, Y

    This format is also used by The Events Calendar Shortcode & Block to determine how the dates should be displayed.

    Otherwise to have the date and time display exactly how you mentioned above, with the year after the time range etc, would need to customize the output (using PHP code). This is beyond the support we’re able to provide, and the code would need to account for several scenarios like an all-day event, an event with the same start and end time, events across multiple dates, and more.

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.