• Resolved maroponta

    (@maroponta)


    I’m looking for a way to list today as a starting point.
    For example, if I use ‘listDay’, I can show a day today, but not tomorrow or the day after that, and Not. So, ideally, the ‘listWeek’ display should be topped by today. Is there a way to do this?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author michielve

    (@michielve)

    So you want to be able to start the listWeek always with today as the first day – is that correct?

    Thread Starter maroponta

    (@maroponta)

    @michielve
    thank you, yes, it’s correct.

    Thread Starter maroponta

    (@maroponta)

    @michielve
    Or can I use ‘agendaWeek’ ? I tried the shortcode, but it didn’t output.

    https://fullcalendar.io/docs/v3/agenda-view

    • This reply was modified 4 years, 8 months ago by maroponta.
    • This reply was modified 4 years, 8 months ago by maroponta.
    Plugin Author michielve

    (@michielve)

    No you can’t use agendaWeek because this isn’t available in the FullCalendar version this plugin is using.

    But when I have time I’ll look if I can add an option to start a listWeek with the day of today.

    Thread Starter maroponta

    (@maroponta)

    @michielve
    ‘agendaWeek’ is not available, I understand. 
    Thank you, we’d love to have you investigate!

    Plugin Author michielve

    (@michielve)

    Hi,

    In the new release of this plugin it’s now possible to start with today (or yesterday, tomorrow, etc.)

    For shortcode you set first_day, for widget/Gutenberg block you use firstDay.

    Examples shortcode:

    Today:

    [pgc first_day="+0"]

    Yesterday:

    [pgc first_day="-1"]

    Please note this also has impact on all views (month, week and list views).

    Best wishes,
    Michiel

    Thread Starter maroponta

    (@maroponta)

    @michielve
    Oh, my God. I’m impressed! Thank you so much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to list starting with today’ is closed to new replies.