[epl_snug] Shortcode
The [epl_snug] feature allows you to output your Snug buttons in your templates. This shortcode is very hand when using page builders like Elemento, Divi and others.
[epl_snug]
You can output your buttons on your single listing template like this:
[epl_snug button="apply"]
Usage
There are several options that may be specified using this syntax:
[epl_snug option1="value1" option2="value2"]
You can also print a list of listings in a template like so:
<?php echo do_shortcode( '[epl_snug option1="value1" option2="value2"]' ); ?>
All Options
button label
Options
The following options are accepted:
button
specify the button type to output. The default is the apply button.
- apply
- view_listing
[epl_snug button="view_listing"]
label
this is the displated button label. The default will come from the extensions settings for the button type
[epl_snug button="apply" label="Apply for this awesome property today!"]