PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 4.7.1.1
Hustle – Email Marketing, Lead Generation, Optins, Popups v4.7.1.1
7.8.14.2 7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / css / tpl / simple / template.php
wordpress-popup / css / tpl / simple Last commit date
img 12 years ago style.css 11 years ago style.php 12 years ago template.php 11 years ago
template.php
64 lines
1 <?php
2 /**
3 * File is included inside an IncPopupItem object.
4 * All variables of the object are available in this template.
5 *
6 * Placeholders:
7 * %color1% .. PopUp Color-1
8 * %color2% .. PopUp Color-2
9 * %id% .. Random PopUp-ID (changes on every request)
10 * %title% .. PopUp Title
11 * %subtitle% .. PopUp Subtitle
12 * %img_url% .. Feature-Image URL
13 * %content% .. PopUp Contents (with parsed shortcodes)
14 * %cta_button% .. Full CTA button tag
15 * %hide_forever% .. Full Hide-Forver button tag
16 * %outer_class% .. CSS classes (contains style-name and popup-ID)
17 * %inner_class% .. CSS classes
18 * %outer_style% .. CSS style tag contents
19 * %inner_style% .. CSS style tag contents
20 *
21 * Additional Variables
22 * $has_title .. Bool
23 * $has_subtitle .. Bool
24 * $has_cta .. Bool
25 * $img_is_left .. Bool
26 * $img_is_right .. Bool
27 * $has_buttons .. Bool
28 */
29
30 ?>
31 <div id="%id%" class="%outer_class%" style="%outer_style%">
32 <div class="resize %inner_class%" style="%inner_style%">
33
34 <a href="#" class="wdpu-close" title="<?php _e( 'Close this box', PO_LANG ); ?>"></a>
35
36 <div class="wdpu-msg-inner resize">
37 <?php if ( $img_is_left ) : ?>
38 <div class="wdpu-image"><img src="%img_url%" /></div>
39 <?php endif; ?>
40
41 <div class="wdpu-text">
42 <div class="wdpu-inner <?php if ( ! $has_buttons ) { echo esc_attr( 'no-bm' ); } ?>">
43 <div class="wdpu-head">
44 <div class="wdpu-title">%title%</div>
45 <div class="wdpu-subtitle">%subtitle%</div>
46 </div>
47 <div class="wdpu-content">%content%</div>
48 </div>
49
50 <?php if ( $has_buttons ) : ?>
51 <div class="wdpu-buttons">
52 %cta_button%
53 %hide_forever%
54 </div>
55 <?php endif; ?>
56 </div>
57
58 <?php if ( $img_is_right ) : ?>
59 <div class="wdpu-image"><img src="%img_url%" /></div>
60 <?php endif; ?>
61 </div>
62
63 </div>
64 </div>