<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Shortcode example

[ad_1]

Replies: 1

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?

  • This topic was modified 3 hours, 36 minutes ago by originalpiratematerial.

 

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