Okay
  Public Ticket #3404235
Shortcode
Closed

Comments

  • CommunikVous started the conversation

    Hello

    I'd like a shortcode where you can see past and future events up to a limit of 6. At the moment I'm using this shortcode: [stachethemes_ec views=grid show_top=0 agenda_get_n=6 ] but it only displays future events, I've tried the shortcode [stachethemes_ec min_date=2022-01-01 max_date=2022-12-31] but it doesn't work.


    Thks

  •  894
    Zhivko replied

    Try 

    [stachethemes_ec grid_per_click=6 view=grid show_top=0 min_date=2022-01-01 max_date=2023-12-31 start_date=2022-01-01 future_months_ahead=60 grid_lfm=0]
    
    grid_per_click - how many events to show per request
    start_date - initial calendar start date. 
    future_months_ahead - how far to look into the future from the current calendar date (the start_date) the value is in number of months (60 = 5 years) grid_lfm - enable / disable look for more button in the grid view

    Stachethemes Developer