• Resolved jpollie

    (@jpollie)


    Dear event organiser,

    I am using the plugin for over a year now and love it. There is only 1 thing i can’t figure out i dont know where to look.

    I want to shorten the date. Now i get this:

    Party on 18 september, 2014 16:00

    I would like to play with it for example

    Party on 18 september, 18:00
    Party on 18 Sep. 14, 18:00
    Party on 18 Sep. 18:00
    Party on 18-09-14, 18:00

    Using this code in my wordpress page:

    [eo_events event_start_before=’+1 week’ event_category=agenda,holidays,party no_events=”No events this week.” showpastevents=false numberposts=’3′]

    https://wordpress.org/plugins/event-organiser/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    You can edit the ouput for the event list shortcode by one of two methods. This includes specifying the format of the dates. (See documentation).

    Thread Starter jpollie

    (@jpollie)

    Oke if I understand it right I have to use the

    [eo_events] %event_title% on %start{jS M Y}{ g:i:a}%, at %event_venue% [/eo_events]

    but in this tags how do I add the No events text?

    Plugin Author Stephen Harris

    (@stephenharris)

    You provide the “no events” text as an attribute:

    [eo_events no_events="No events"] %event_title% on %start{jS M Y}{ g:i:a}%, at %event_venue%  [/eo_events]
    Thread Starter jpollie

    (@jpollie)

    Got it working thank you!!

    [eo_events event_start_before='+1 week' event_category=agenda,holidays,party no_events="No events." showpastevents=false numberposts='3'] <a href="%event_url%">%event_title%</a> on %start{d/m}{, H:i}% till %end{H:i}{}% [/eo_events]

    Used some time code from here

    link

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shorten the date?’ is closed to new replies.