| 1 |
<?php |
| 2 |
/** |
| 3 |
* BFCM 2025 Banner Template |
| 4 |
* |
| 5 |
* @var $elements NoticeElementProperties |
| 6 |
* @var $backgroundLarge string |
| 7 |
* @var $backgroundMedium string |
| 8 |
* @var $backgroundSmall string |
| 9 |
* @var $cartIcon string |
| 10 |
* |
| 11 |
* @since 4.11.0 |
| 12 |
*/ |
| 13 |
|
| 14 |
?> |
| 15 |
|
| 16 |
<section <?php echo $elements->customWrapperAttributes; ?> |
| 17 |
id='givewp-bfcm-2025-banner' |
| 18 |
class='givewp-bfcm-2025-banner' |
| 19 |
role='banner' |
| 20 |
aria-label='<?php echo esc_attr__('Black Friday Cyber Monday 2025 Promotion', 'give'); ?>' |
| 21 |
style='--bg-small: url("<?php echo esc_url($backgroundSmall); ?>"); --bg-medium: url("<?php echo esc_url($backgroundMedium); ?>"); --bg-large: url("<?php echo esc_url($backgroundLarge); ?>");'> |
| 22 |
|
| 23 |
<div class='givewp-bfcm-2025-banner__content'> |
| 24 |
<h1 class='givewp-bfcm-2025-banner__title'><?php echo wp_kses(__('Amplify Your Impact With <span class="givewp-bfcm-2025-banner__discount">30%</span> Off', 'give'), ['span' => ['class' => []]]); ?></h1> |
| 25 |
<p class='givewp-bfcm-2025-banner__description'><?php echo esc_html__('Your cause deserves the best! Do more good & spend less: Nov 24 - Dec 2.', 'give'); ?></p> |
| 26 |
<a class='givewp-bfcm-2025-banner__cta' |
| 27 |
href='https://docs.givewp.com/givecore-bfcm2025' |
| 28 |
target='_blank' |
| 29 |
rel='noopener noreferrer' |
| 30 |
aria-label='<?php echo esc_attr__('Claim your 30% discount - opens in new tab', 'give'); ?>'> |
| 31 |
<img src='<?php echo esc_url($cartIcon); ?>' alt='<?php echo esc_attr__('Cart icon', 'give'); ?>' /> |
| 32 |
<?php echo esc_html__('CLAIM MY 30% DISCOUNT', 'give'); ?> |
| 33 |
</a> |
| 34 |
</div> |
| 35 |
</section> |
| 36 |
|