PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.8.1
GiveWP – Donation Plugin and Fundraising Platform v4.16.8.1
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / src / Promotions / resources / views / BFCM2025.php

BFCM2025.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.8.1, at src/Promotions/resources/views/BFCM2025.php

36 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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