• I have seen a few questions regarding the use of ACF and generating a button, but I cannot seem to get this to work.

    Here is my shortcode
    [add-to-calendar-button name=”Add” options=”‘Apple’,’Google’,’iCal’,’Outlook.com’,’Yahoo’,’Microsoft365′,’MicrosoftTeams'” startDate=”{sc_start}acf:welcome_page_date_and_start_time{sc_end}” endDate=”{sc_start}acf:welcome_page_date_and_end_time{sc_end} description=”Description with {b}bold{/b} text”]

    Am I missing something that means this will not appear on the frontend?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Add to Calendar

    (@add2cal)

    Add the debug option to it. It usually tells you what’s wrong.

    like [add-to-calendar-button debug name="Add" ...

    Double-check what the ACF shortcode is printing. It needs to be format YYYY-MM-DD here!

    Thread Starter garteth

    (@garteth)

    What if the time is included because I am using a time and date picker?

    Plugin Author Add to Calendar

    (@add2cal)

    YYYY-MM-DDThh:mm is also unofficially supported (mind the “T”, which separates date from time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.