On the page you require a Drip signup form, simply place the following shortcode:
[drip-signup campaign_id="12345678"]
The shortcode supports the following attributes:
Here is a full example:
[drip-signup campaign_id="12345678" form_class="my-css-form-class" placeholder_text="Enter your email address" button_text="Subscribe" already_submitted_class="my-css-form-submitted" hide_another_element_on_page="id-of-another-html-element" loader_colour="#FFFFFF"]
If you wish to render a form via PHP, use the following sytnax:
if (function_exists('yk_ds_shortcode'))
{
$shortcode_args =
array(
'campaign_id' => 12345678,
'form_class' => 'my-css-form-class',
'placeholder_text' => 'Enter your email address',
'button_text' => 'Subscribe',
'already_submitted_class' => 'my-css-form-submitted',
loader_colour => '#FFFFFF',
'hide_another_element_on_page' => 'id-of-another-html-element'
);
echo yk_ds_shortcode($shortcode_args);
}