Code closes at first “]”

[ad_1]

Hi! (:

First of all: Thank you so much for this simple solution! It is great!!

Now on to the problem..
I think the “[add-to-calendar-button” closes at the first “]” in the code.
I first came across this problem when I included [url] pseudo-tag in the discription parameter. Gave up on figuring it out and then had the idea what the problem is when it happend again when I tried to include a event series.

But I am not sure as I have very basic knowledge. So maybe it’s just my code.

I really hope you can help me. Thanks a lot! (:

Code I used above the vertical line:

[add-to-calendar-button
name="XXX"
description="Alle Infos zu diesem Programmpunkt findest du unter: [url]https://animuc.de/project/XXX[/url]"
location="XXX"

iCalFileName="aniMUC2023-XXX"

startDate="2023-04-28"
endDate="2023-04-28"
startTime="00:00"
endTime="00:00"

options="'Apple','Google','iCal','Outlook.com'"
hideTextLabelButton
hideTextLabelList
buttonStyle="text"
lightMode="light"
styleLight="--btn-text: #4a5da7; --btn-text-hover: #ffffff; --btn-underline: #4a5da7; --btn-text-shadow: none;"
inline
size="1"
timeZone="Europe/Berlin"
]

Code below the vertical line:

[add-to-calendar-button
location="XXX"

iCalFileName="aniMUC2023-XXX"

dates="[
{
"name":"to use the Add to Calendar Button",
"description":"This is the first part to check the Add to Calendar Button script at",
"startDate":"today+3",
"startTime":"10:15",
"endTime":"23:30"
},
{
"name":"to use the Add to Calendar Button",
"description":"This is the third part to check the Add to Calendar Button script at",
"startDate":"today+8",
"startTime":"09:00",
"endTime":"19:00"
},
{
"name":"to use the Add to Calendar Button",
"description":"This is the second part to check the Add to Calendar Button script at",
"startDate":"today+5",
"startTime":"11:30",
"endTime":"20:00"
}
]"

options="'Apple','Google','iCal','Outlook.com'"
hideTextLabelButton
hideTextLabelList
buttonStyle="text"
lightMode="light"
styleLight="--btn-text: #4a5da7; --btn-text-hover: #ffffff; --btn-underline: #4a5da7; --btn-text-shadow: none;"
inline
size="1"
timeZone="Europe/Berlin"
]

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer