Shortcode example
-
Can you give an example of how to implement the classic editor shortcode version? I’ve tried using this:
[add-to-calendar-button name=”My Event Title” startDate=”2023-01-17″ location= “World Wide Web” label=”This is a more customized button”]
which outputs this:<add-to-calendar-button name=”My Event Title” startdate=”2023-01-17″ location=”World Wide Web” label=”This is a more customized button” atcb-button-id=”atcb-btn-1″>
And has a shadow root of:
<div class=”atcb-initialized” style=”display:none;position:relative;width:fit-content;”>
Nothing displays, though. It looks like something might be missing from the shadow root?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shortcode example’ is closed to new replies.