• Resolved apa1exakis

    (@apa1exakis)


    I am using the following shortcode but its not displaying. Checking in console and the only error pertaining to this plugin is saying “no valid options set”

    [add-to-calendar-button
    name="Real Estate Lunch and Learn"
    startDate="2023-11-08"
    startTime="11:30"
    endTime="13:00"
    timeZone="America/New_York"
    location="100 Central Road, Bensville, PA 17011" description="Event description here if needed"
    options="'Google','Apple','iCal','Yahoo'"
    ]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jens Kuerschner

    (@jekuer)

    Your code is working on my end.

    Are you using the latest version?

    Thread Starter apa1exakis

    (@apa1exakis)

    Thanks for the quick response.

    Yes, Version 1.5.1

    Plugin Contributor Jens Kuerschner

    (@jekuer)

    Do you have any line breaks in it?

    The only thing I could think of right now. In doubt, check the HTML view in the editor.

    Next step for debugging would be that you have a look at the console to check how the shortcode is transformed into an <add-to-calendar-button /> tag. This would be helpful.

    Thread Starter apa1exakis

    (@apa1exakis)

    Thank you. It’s working now. I think its because we had it like the code in my first post. Once we put all the code on one line it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode not displaying, “options not set”’ is closed to new replies.