PluginProbe ʕ •ᴥ•ʔ
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents / 4.6.0
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents v4.6.0
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 / elements.php
embedpress / EmbedPress / Ends / Back / Settings / templates Last commit date
partials 1 month ago ads.php 1 month ago bnr-img.png 11 months ago calendly.php 1 month ago custom-logo.php 1 month ago dailymotion.php 2 years ago elements.php 1 week ago general.php 7 months ago go-premium.php 7 months ago google-calendar.php 1 month ago hub.php 1 week ago instagram.php 1 month ago license.php 5 years ago main-template.php 1 month ago opensea.php 2 years ago player-engagement.php 2 months ago premium.php 2 years ago settings.php 1 month ago shortcode.php 1 month ago soundcloud.php 2 years ago sources.php 10 months ago spotify.php 2 years ago twitch.php 2 years ago vimeo.php 2 years ago wistia.php 1 month ago youtube.php 1 year ago
elements.php
293 lines
1 <?php
2 /*
3 * YouTube Settings page */
4 //rest option name: embedpress_elements_updated
5 $elements = (array) get_option( EMBEDPRESS_PLG_NAME.":elements", []);
6 $g_blocks = isset( $elements['gutenberg']) ? (array) $elements['gutenberg'] : [];
7 $e_blocks = isset( $elements['elementor']) ? (array) $elements['elementor'] : [];
8 $settings = get_option( EMBEDPRESS_PLG_NAME, []);
9 $enablePluginInAdmin = isset( $settings['enablePluginInAdmin'] ) ? $settings['enablePluginInAdmin'] : 1;
10 $enablePluginInFront = isset( $settings['enablePluginInFront'] ) ? $settings['enablePluginInFront'] : 1;
11
12 ?>
13
14 <div class="background__white p-24 radius-16 mb-20">
15 <div class="embedpress--elements__wrap">
16 <h3>Gutenberg</h3>
17 <div class="embedpress__row grid__3">
18 <div class="element__item">
19 <h5>EmbedPress</h5>
20 <a href="https://embedpress.com/documentation/" class="has__question" target="_blank">
21 <i class="ep-icon ep-question"></i>
22 <span class="element__tooltip"><?php esc_html_e( "It supports 250+ providers. Click to read the docs", "embedpress" ); ?></span>
23 </a>
24 <label class="input__switch element_switch">
25 <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="gutenberg" <?php echo isset( $g_blocks['embedpress']) ? 'checked': ''; ?> >
26 <span></span>
27 </label>
28 </div>
29 <div class="element__item">
30 <h5>Document</h5>
31 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
32 <i class="ep-icon ep-question"></i>
33 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
34 </a>
35 <label class="input__switch element_switch">
36 <input class="element-check" type="checkbox" value="yes" data-name="document" data-type="gutenberg" <?php echo isset( $g_blocks['document']) ? 'checked': ''; ?> >
37 <span></span>
38 </label>
39 </div>
40 <div class="element__item">
41 <h5>EmbedPress PDF</h5>
42 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
43 <i class="ep-icon ep-question"></i>
44 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
45 </a>
46 <label class="input__switch element_switch">
47 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-pdf" data-type="gutenberg" <?php echo isset( $g_blocks['embedpress-pdf']) ? 'checked': ''; ?> >
48 <span></span>
49 </label>
50 </div>
51 <div class="element__item">
52 <h5>EmbedPress Calendar</h5>
53 <a href="https://embedpress.com/docs/embed-google-calendar-in-wordpress" class="has__question" target="_blank">
54 <i class="ep-icon ep-question"></i>
55 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
56 </a>
57 <label class="input__switch element_switch">
58 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-calendar" data-type="gutenberg" <?php echo isset( $g_blocks['embedpress-calendar']) ? 'checked': ''; ?> >
59 <span></span>
60 </label>
61 </div>
62 <div class="element__item">
63 <h5>YouTube</h5>
64 <a href="https://embedpress.com/docs/embed-youtube-videos-in-gutenberg/" class="has__question" target="_blank">
65 <i class="ep-icon ep-question"></i>
66 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
67 </a>
68 <label class="input__switch element_switch">
69 <input class="element-check" type="checkbox" value="yes" data-name="youtube-block" data-type="gutenberg" <?php echo isset( $g_blocks['youtube-block']) ? 'checked': ''; ?> >
70 <span></span>
71 </label>
72 </div>
73 <div class="element__item">
74 <h5>Google Docs</h5>
75 <a href="https://embedpress.com/docs/embed-google-docs-wordpress/" class="has__question" target="_blank">
76 <i class="ep-icon ep-question"></i>
77 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
78 </a>
79 <label class="input__switch element_switch">
80 <input class="element-check" type="checkbox" value="yes" data-name="google-docs-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-docs-block']) ? 'checked': ''; ?> >
81 <span></span>
82 </label>
83 </div>
84 <div class="element__item">
85 <h5>Google Slides</h5>
86 <a href="https://embedpress.com/docs/embed-google-slides-wordpress/" class="has__question" target="_blank">
87 <i class="ep-icon ep-question"></i>
88 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
89 </a>
90 <label class="input__switch element_switch">
91 <input class="element-check" type="checkbox" value="yes" data-name="google-slides-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-slides-block']) ? 'checked': ''; ?> >
92 <span></span>
93 </label>
94 </div>
95 <div class="element__item">
96 <h5>Google Sheets</h5>
97 <a href="https://embedpress.com/docs/embed-google-sheets-wordpress/" class="has__question" target="_blank">
98 <i class="ep-icon ep-question"></i>
99 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
100 </a>
101 <label class="input__switch element_switch">
102 <input class="element-check" type="checkbox" value="yes" data-name="google-sheets-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-sheets-block']) ? 'checked': ''; ?> >
103 <span></span>
104 </label>
105 </div>
106 <div class="element__item">
107 <h5>Google Forms</h5>
108 <a href="https://embedpress.com/docs/embed-google-forms-wordpress/" class="has__question" target="_blank">
109 <i class="ep-icon ep-question"></i>
110 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
111 </a>
112 <label class="input__switch element_switch">
113 <input class="element-check" type="checkbox" value="yes" data-name="google-forms-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-forms-block']) ? 'checked': ''; ?> >
114 <span></span>
115 </label>
116 </div>
117 <div class="element__item">
118 <h5>Google Drawings</h5>
119 <a href="https://embedpress.com/docs/embed-google-drawings-wordpress/" class="has__question" target="_blank">
120 <i class="ep-icon ep-question"></i>
121 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
122 </a>
123 <label class="input__switch element_switch">
124 <input class="element-check" type="checkbox" value="yes" data-name="google-drawings-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-drawings-block']) ? 'checked': ''; ?> >
125 <span></span>
126 </label>
127 </div>
128 <div class="element__item">
129 <h5>Google Maps</h5>
130 <a href="https://embedpress.com/docs/embed-google-maps-wordpress/" class="has__question" target="_blank">
131 <i class="ep-icon ep-question"></i>
132 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
133 </a>
134 <label class="input__switch element_switch">
135 <input class="element-check" type="checkbox" value="yes" data-name="google-maps-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-maps-block']) ? 'checked': ''; ?> >
136 <span></span>
137 </label>
138 </div>
139 <div class="element__item">
140 <h5>Twitch</h5>
141 <a href="https://embedpress.com/docs/embed-twitch-live-chat/" class="has__question" target="_blank">
142 <i class="ep-icon ep-question"></i>
143 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
144 </a>
145 <label class="input__switch element_switch">
146 <input class="element-check" type="checkbox" value="yes" data-name="twitch-block" data-type="gutenberg" <?php echo isset( $g_blocks['twitch-block']) ? 'checked': ''; ?> >
147 <span></span>
148 </label>
149 </div>
150 <div class="element__item">
151 <h5>Wistia</h5>
152 <a href="https://embedpress.com/docs/embed-wistia-videos-wordpress/" class="has__question" target="_blank">
153 <i class="ep-icon ep-question"></i>
154 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
155 </a>
156 <label class="input__switch element_switch">
157 <input class="element-check" type="checkbox" value="yes" data-name="wistia-block" data-type="gutenberg" <?php echo isset( $g_blocks['wistia-block']) ? 'checked': ''; ?> >
158 <span></span>
159 </label>
160 </div>
161 <div class="element__item">
162 <h5>Vimeo</h5>
163 <a href="https://embedpress.com/docs/embed-vimeo-videos-wordpress/" class="has__question" target="_blank">
164 <i class="ep-icon ep-question"></i>
165 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
166 </a>
167 <label class="input__switch element_switch">
168 <input class="element-check" type="checkbox" value="yes" data-name="vimeo-block" data-type="gutenberg" <?php echo isset( $g_blocks['vimeo-block']) ? 'checked': ''; ?> >
169 <span></span>
170 </label>
171 </div>
172 <div class="element__item">
173 <h5><?php esc_html_e( "PDF Gallery", "embedpress" ); ?></h5>
174 <a href="https://embedpress.com/docs/" class="has__question" target="_blank">
175 <i class="ep-icon ep-question"></i>
176 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
177 </a>
178 <label class="input__switch element_switch">
179 <input class="element-check" type="checkbox" value="yes" data-name="pdf-gallery" data-type="gutenberg" <?php echo isset( $g_blocks['pdf-gallery']) ? 'checked': ''; ?> >
180 <span></span>
181 </label>
182 </div>
183 <div class="element__item">
184 <h5><?php esc_html_e( "Google Reviews", "embedpress" ); ?></h5>
185 <a href="https://embedpress.com/docs/" class="has__question" target="_blank">
186 <i class="ep-icon ep-question"></i>
187 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
188 </a>
189 <label class="input__switch element_switch">
190 <input class="element-check" type="checkbox" value="yes" data-name="google-reviews" data-type="gutenberg" <?php echo isset( $g_blocks['google-reviews']) ? 'checked': ''; ?> >
191 <span></span>
192 </label>
193 </div>
194 </div>
195 </div>
196 </div>
197 <!--ELEMENTOR WIDGETS STARTS -->
198 <div class="background__white p-24 radius-16 mb-20">
199 <div class="embedpress--elements__wrap">
200 <h3>Elementor</h3>
201 <div class="embedpress__row grid__3">
202 <div class="element__item">
203 <h5>EmbedPress</h5>
204 <a href="https://embedpress.com/docs/embedpress-with-elementor/" class="has__question" target="_blank">
205 <i class="ep-icon ep-question"></i>
206 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
207 </a>
208 <label class="input__switch element_switch">
209 <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="elementor" <?php echo isset( $e_blocks['embedpress']) ? 'checked': ''; ?> >
210 <span></span>
211 </label>
212
213 </div>
214 <div class="element__item">
215 <h5>EmbedPress Document</h5>
216 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
217 <i class="ep-icon ep-question"></i>
218 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
219 </a>
220 <label class="input__switch element_switch">
221 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-document" data-type="elementor" <?php echo isset( $e_blocks['embedpress-document']) ? 'checked': ''; ?> >
222 <span></span>
223 </label>
224
225 </div>
226
227 <div class="element__item">
228 <h5>EmbedPress PDF</h5>
229 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
230 <i class="ep-icon ep-question"></i>
231 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
232 </a>
233 <label class="input__switch element_switch">
234 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-pdf" data-type="elementor" <?php echo isset( $e_blocks['embedpress-pdf']) ? 'checked': ''; ?> >
235 <span></span>
236 </label>
237
238 </div>
239
240 <div class="element__item">
241 <h5>EmbedPress Calendar</h5>
242 <a href="https://embedpress.com/docs/embed-google-calendar-in-wordpress" class="has__question" target="_blank">
243 <i class="ep-icon ep-question"></i>
244 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
245 </a>
246 <label class="input__switch element_switch">
247 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-calendar" data-type="elementor" <?php echo isset( $e_blocks['embedpress-calendar']) ? 'checked': ''; ?> >
248 <span></span>
249 </label>
250
251 </div>
252
253 <div class="element__item">
254 <h5><?php esc_html_e( "EmbedPress Google Reviews", "embedpress" ); ?></h5>
255 <a href="https://embedpress.com/docs/" class="has__question" target="_blank">
256 <i class="ep-icon ep-question"></i>
257 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
258 </a>
259 <label class="input__switch element_switch">
260 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-google-reviews" data-type="elementor" <?php echo isset( $e_blocks['embedpress-google-reviews']) ? 'checked': ''; ?> >
261 <span></span>
262 </label>
263
264 </div>
265 </div>
266 </div>
267 </div>
268 <!--CLASSIC EDITOR SETTINGS STARTS-->
269 <div class="background__white radius-16 p-24">
270 <div class="embedpress--elements__wrap">
271 <h3>Classic Editor</h3>
272 <div class="embedpress__row grid__3">
273 <div class="element__item">
274 <h5><?php esc_html_e( "Preview In Frontend", "embedpress" ); ?></h5>
275 <label class="input__switch element_switch">
276 <input class="element-check" type="checkbox" value="1" data-name="enablePluginInFront" data-type="classic" <?php echo $enablePluginInFront ? 'checked': ''; ?> >
277 <span></span>
278 </label>
279
280 </div>
281 <div class="element__item">
282 <h5><?php esc_html_e( "Preview In Editor", "embedpress" ); ?></h5>
283 <label class="input__switch element_switch">
284 <input class="element-check" type="checkbox" value="1" data-name="enablePluginInAdmin" data-type="classic" <?php echo $enablePluginInAdmin ? 'checked': ''; ?> >
285 <span></span>
286 </label>
287
288 </div>
289 </div>
290 </div>
291 </div>
292
293