| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<h2 class="frm-widget-heading"><?php echo esc_html( $template['widget-heading'] ); ?></h2> |
| 7 |
<div class="frm-widget-placeholder" data-background="<?php echo esc_attr( $template['placeholder']['background'] ); ?>"> |
| 8 |
<div> |
| 9 |
<h2 class="frm-widget-heading"> |
| 10 |
<?php echo esc_html( $template['placeholder']['heading'] ); ?> |
| 11 |
</h2> |
| 12 |
<p class="frm-mt-sm"><?php echo wp_kses_post( $template['placeholder']['copy'] ); ?></p> |
| 13 |
<?php if ( null !== $template['placeholder']['button'] ) : ?> |
| 14 |
<a href="<?php echo esc_url( $template['placeholder']['button']['link'] ); ?>" class="frm-button-secondary <?php echo isset( $template['placeholder']['button']['classname'] ) ? esc_attr( $template['placeholder']['button']['classname'] ) : ''; ?>"><?php echo esc_html( $template['placeholder']['button']['label'] ); ?></a> |
| 15 |
<?php endif; ?> |
| 16 |
</div> |
| 17 |
</div> |
| 18 |
|