/
tribe-stellar-sale-premium.php
60 lines (57 loc) · 2.03 KB
/
tribe-stellar-sale-premium.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* The Stellar Sale admin notice.
*
* @since 4.14.2
* @since 5.1.3 - Made updates to the notice for the 2023 sale.
*
* @var string $icon_url The local URL for the notice's image.
* @var string $cta_url The short URL for the Stellar Sale.
*/
?>
<div class="tribe-marketing-notice">
<div class="tribe-marketing-notice__content-wrapper">
<div class="tribe-marketing-notice__col--md">
<h3>
<?php _e( 'Make it stellar.', 'tribe-common' ); ?>
</h3>
<h4>
<?php _e( 'Save 30% on all StellarWP products.', 'tribe-common' ); ?>
</h4>
<p>
<span class="tribe-marketing-notice__cta-shop-now tribe-marketing-notice__cta-shop-now--desktop">
<a target="_blank" href="<?php echo esc_url( $stellar_url ); ?>">
<?php echo esc_html_x( 'Shop now', 'Shop now link text', 'tribe-common' ) ?>
</a>
</span>
</p>
</div>
<div class="tribe-marketing-notice__col--lg">
<p class="tribe-marketing-notice__info">
<?php echo __( 'Purchase any StellarWP product during the sale and get <b>100%</b> off WP Business Reviews and take <b>40%</b> off all other brands.', 'tribe-common' ); ?>
</p>
<div class="tribe-marketing-notice__col--inner">
<p>
<span class="tribe-marketing-notice__cta-shop-now tribe-marketing-notice__cta-shop-now--mobile">
<a target="_blank" href="<?php echo esc_url( $stellar_url ); ?>">
<?php echo esc_html_x( 'Shop now', 'Shop now link text', 'tribe-common' ) ?>
</a>
</span>
</p>
<p>
<span class="tribe-marketing-notice__cta-stellar-deals">
<a target="_blank" href="<?php echo esc_url( $stellar_url ); ?>">
<?php echo esc_html_x( 'View all StellarWP Deals', 'View all StellarWP Deals link text', 'tribe-common' ); ?>
</a>
</span>
</p>
</div>
</div>
<div class="tribe-marketing-notice__col--sm">
<img
class="tribe-marketing-notice__col--sm-bg"
src="<?php echo esc_url( tribe_resource_url( 'images/marketing/stellar-sale-banner-bg.svg', false, null, Tribe__Main::instance() ) ); ?>"
/>
</div>
</div>
</div>