[epd_button] shortcode enables you to output a button for a specific demo template anywhere on your site. Once a user clicks on the button, they are directed to the registration form where they can sign up for the demo they have selected.
[epd_button] shortcode accepts the following arguments, all of which are optional;
The post ID of the demo for which the button is being displayed.
Default value: Current post ID. If the current post is not a demo template, “No demo found” will be displayed
The ID to assign to the button input.
Default value: epdp-launch-demo
The CSS class to assign to the button input.
Default value: none
The text to be displayed on the button input.
Default value: Defined within the Button Text setting option or within the demo template itself
- Output a button for Demo ID 123:
- Output a demo button for demo_id 123 with custom text and CSS styling:
[epd_button demo_id="123" text="Launch this Demo" class="custom_class"]