PluginProbe ʕ •ᴥ•ʔ
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents / 4.0.5
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents v4.0.5
4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 2.0.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9 4.0.0 4.0.1 4.0.10 4.0.11 4.0.12 4.0.13 4.0.14 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.10 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.4.0 4.4.1 4.4.10 4.4.11 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5.0 4.5.1
embedpress / EmbedPress / Ends / Back / Settings / templates / soundcloud.php
embedpress / EmbedPress / Ends / Back / Settings / templates Last commit date
partials 2 years ago ads.php 2 years ago calendly.php 2 years ago custom-logo.php 2 years ago dailymotion.php 2 years ago elements.php 2 years ago general.php 2 years ago go-premium.php 2 years ago google-calendar.php 2 years ago instagram.php 2 years ago license.php 5 years ago main-template.php 5 years ago opensea.php 2 years ago premium.php 2 years ago shortcode.php 2 years ago soundcloud.php 2 years ago sources.php 2 years ago spotify.php 2 years ago twitch.php 2 years ago vimeo.php 2 years ago wistia.php 2 years ago youtube.php 3 years ago
soundcloud.php
192 lines
1 <?php
2 /*
3 * SoundCloud Settings page
4 * All undefined vars comes from 'render_settings_page' method
5 * */
6 $visual = isset($sc_settings['visual']) ? sanitize_text_field($sc_settings['visual']) : '';
7 $autoplay = isset($sc_settings['autoplay']) ? sanitize_text_field($sc_settings['autoplay']) : '';
8 $share_button = isset($sc_settings['share_button']) ? sanitize_text_field($sc_settings['share_button']) : '';
9 $comments = isset($sc_settings['comments']) ? intval($sc_settings['comments']) : 1;
10 $color = isset($sc_settings['color']) ? sanitize_text_field($sc_settings['color']) : '#dd3333';
11 $artwork = isset($sc_settings['artwork']) ? sanitize_text_field($sc_settings['artwork']) : '';
12 $play_count = isset($sc_settings['play_count']) ? intval($sc_settings['play_count']) : 1;
13 $username = isset($sc_settings['username']) ? intval($sc_settings['username']) : 1;
14 // pro
15 $download_button = isset($sc_settings['download_button']) ? intval($sc_settings['download_button']) : 1;
16 $buy_button = isset($sc_settings['buy_button']) ? intval($sc_settings['buy_button']) : 1;
17
18 ?>
19
20 <div class="embedpress__settings background__white radius-25 p40">
21 <h3><?php esc_html_e( "SoundCloud Settings", "embedpress" ); ?></h3>
22 <div class="embedpress__settings__form">
23 <form action="" method="post" class="embedpress-settings-form" >
24 <?php
25 do_action( 'embedpress_before_dailymotion_settings_fields');
26 echo $nonce_field ; ?>
27 <div class="form__group">
28 <p class="form__label"><?php esc_html_e( "Visual Player", "embedpress" ); ?></p>
29 <div class="form__control__wrap">
30 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $visual ); ?>" data-value="<?php echo esc_attr( $visual ); ?>">
31 <label class="input__radio">
32 <input type="radio" name="visual" value="" <?php checked( '', $visual); ?>>
33 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
34 </label>
35 <label class="input__radio">
36 <input type="radio" name="visual" value="1" <?php checked( '1', $visual); ?>>
37 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
38 </label>
39 </div>
40 </div>
41 </div>
42 <div class="form__group">
43 <p class="form__label"><?php esc_html_e( "Scheme", "embedpress" ); ?></p>
44 <div class="form__control__wrap">
45 <input type="text" class="form__control ep-color-picker" name="color" value="<?php echo esc_attr( $color); ?>" data-default="<?php echo esc_attr( $color ); ?>">
46 </div>
47 </div>
48
49 <div class="form__group">
50 <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
51 <div class="form__control__wrap">
52 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $autoplay ); ?>" data-value="<?php echo esc_attr( $autoplay ); ?>">
53 <label class="input__radio">
54 <input type="radio" name="autoplay" value="" <?php checked( '', $autoplay); ?>>
55 <span><?php esc_html_e( "No", "embedpress" ); ?></span>
56 </label>
57 <label class="input__radio">
58 <input type="radio" name="autoplay" value="1" <?php checked( '1', $autoplay); ?>>
59 <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
60 </label>
61 </div>
62 <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
63 </div>
64 </div>
65
66
67 <div class="form__group">
68 <p class="form__label"><?php esc_html_e( "Buy Button", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>': ''; ?></p>
69 <div class="form__control__wrap">
70 <div class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>" data-default="<?php echo esc_attr( $buy_button ); ?>" data-value="<?php echo esc_attr( $buy_button ); ?>">
71 <label class="input__radio">
72 <input type="radio" name="buy_button" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $buy_button); ?>>
73 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
74 </label>
75 <label class="input__radio">
76 <input type="radio" name="buy_button" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $buy_button);?>>
77 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
78 </label>
79 </div>
80 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
81 </div>
82 </div>
83
84
85 <div class="form__group">
86 <p class="form__label"><?php esc_html_e( "Download Button", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>': ''; ?></p>
87 <div class="form__control__wrap">
88 <div class="input__flex input__radio_wrap <?php echo $pro_active ? '': 'isPro'; ?>" data-default="<?php echo esc_attr( $download_button ); ?>" data-value="<?php echo esc_attr( $download_button ); ?>">
89 <label class="input__radio">
90 <input type="radio" name="download_button" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $download_button); ?>>
91 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
92 </label>
93 <label class="input__radio">
94 <input type="radio" name="download_button" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $download_button);?>>
95 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
96 </label>
97 </div>
98 <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
99 </div>
100 </div>
101
102 <div class="form__group">
103 <p class="form__label"><?php esc_html_e( "Share Button", "embedpress" ); ?></p>
104 <div class="form__control__wrap">
105 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $share_button ); ?>" data-value="<?php echo esc_attr( $share_button ); ?>">
106 <label class="input__radio">
107 <input type="radio" name="share_button" value="" <?php checked( '', $share_button); ?>>
108 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
109 </label>
110 <label class="input__radio">
111 <input type="radio" name="share_button" value="1" <?php checked( '1', $share_button); ?>>
112 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
113 </label>
114 </div>
115 </div>
116 </div>
117 <div class="form__group">
118 <p class="form__label"><?php esc_html_e( "Comments", "embedpress" ); ?></p>
119 <div class="form__control__wrap">
120 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $comments ); ?>" data-value="<?php echo esc_attr( $comments ); ?>">
121 <label class="input__radio">
122 <input type="radio" name="comments" value="" <?php checked( '', $comments); ?>>
123 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
124 </label>
125 <label class="input__radio">
126 <input type="radio" name="comments" value="1" <?php checked( '1', $comments); ?>>
127 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
128 </label>
129 </div>
130 </div>
131 </div>
132
133 <div class="form__group">
134 <p class="form__label"><?php esc_html_e( "Artwork", "embedpress" ); ?></p>
135 <div class="form__control__wrap">
136 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $artwork ); ?>" data-value="<?php echo esc_attr( $artwork ); ?>">
137 <label class="input__radio">
138 <input type="radio" name="artwork" value="" <?php checked( '', $artwork); ?>>
139 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
140 </label>
141 <label class="input__radio">
142 <input type="radio" name="artwork" value="1" <?php checked( '1', $artwork); ?>>
143 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
144 </label>
145 </div>
146 <p><?php esc_html_e( 'Artwork option works when Visual option is disabled', 'embedpress'); ?> </p>
147
148 </div>
149 </div>
150
151
152 <div class="form__group">
153 <p class="form__label"><?php esc_html_e( "Play Count", "embedpress" ); ?></p>
154 <div class="form__control__wrap">
155 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $play_count ); ?>" data-value="<?php echo esc_attr( $play_count ); ?>">
156 <label class="input__radio">
157 <input type="radio" name="play_count" value="" <?php checked( '', $play_count); ?>>
158 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
159 </label>
160 <label class="input__radio">
161 <input type="radio" name="play_count" value="1" <?php checked( '1', $play_count); ?>>
162 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
163 </label>
164 </div>
165 <p><?php esc_html_e( 'Play count option works when Visual option is disabled', 'embedpress'); ?> </p>
166
167 </div>
168 </div>
169
170
171 <div class="form__group">
172 <p class="form__label"><?php esc_html_e( "Username", "embedpress" ); ?></p>
173 <div class="form__control__wrap">
174 <div class="input__flex input__radio_wrap" data-default="<?php echo esc_attr( $username ); ?>" data-value="<?php echo esc_attr( $username ); ?>">
175 <label class="input__radio">
176 <input type="radio" name="username" value="" <?php checked( '', $username); ?>>
177 <span><?php esc_html_e( "Hide", "embedpress" ); ?></span>
178 </label>
179 <label class="input__radio">
180 <input type="radio" name="username" value="1" <?php checked( '1', $username); ?>>
181 <span><?php esc_html_e( "Show", "embedpress" ); ?></span>
182 </label>
183 </div>
184 </div>
185 </div>
186
187 <?php do_action( 'embedpress_after_dailymotion_settings_fields'); ?>
188 <button class="button button__themeColor radius-10 embedpress-submit-btn" name="submit" value="soundcloud"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
189 </form>
190 </div>
191 </div>
192