Okay
  Public Ticket #2748581
show daterange events
Closed

Comments

  • Manfred started the conversation

    Hi there,

    is it possible to start a shortcode view with a specivic daterange?

    For example

    [ameliaevents event=1 daterange="20210201-20210231"]


    or something similar

  • [deleted] replied

    Hi, Manfred!

    Thank you for choosing Amelia.

    You can use this JS to select which date range you want to display on your Events page:

    window.ameliaBooking = {
        pastEventsDays: 10,
        cabinet: {
            pastDays: 10,
            futureDays: 10,
            disableAuthorizationHeader: false
        }
    }


    You should add the code to the page with Events and set the preferable number of days ( pastDays and futureDays).

    Hope that will help.

    Best Regards.