Support

Home Forums Event Espresso Premium Using EVENT_LIST with a date range

Using EVENT_LIST with a date range

Posted: April 15, 2013 at 9:40 am

Viewing 1 reply thread


Bethany Kemper

    April 15, 2013 at 9:40 am

    How would I accomplish using EVENT_LIST with a date range. For example [EVENT_LIST start_date=”04012013″ end_date=”04302013″]

    The goal is to dynamically pass month parameters to the Event List shortcode.

    WP Version: 3.5.1
    EE version: 3.1.31.1
    EE API Plugin version: 3.0.1.B
    New installation?: Yes
    Online?: No, local install only.


    Dean

    • Support Staff

    April 16, 2013 at 12:37 am

    Hello Bethany,

    The Custom Files addon comes with a shortcode called Date Range which might fit your needs. http://staging.eventespresso.com/wiki/custom-files-addon/

    e.g. [EVENT_DATE_RANGE date_1=”2009-12-22″ date_2=”2009-12-31″]

    I haven’t tested it, but it should be possible to add that into a standard page template using the do_shortcode function and pass the dates dynamically using a function.

    Viewing 1 reply thread

    The support post ‘Using EVENT_LIST with a date range’ is closed to new replies.

    Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

    Event Espresso - Staging Server