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 / elements.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
elements.php
258 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 150+ 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>
173 </div>
174 </div>
175 <!--ELEMENTOR WIDGETS STARTS -->
176 <div class="background__white p-24 radius-16 mb-20">
177 <div class="embedpress--elements__wrap">
178 <h3>Elementor</h3>
179 <div class="embedpress__row grid__3">
180 <div class="element__item">
181 <h5>EmbedPress</h5>
182 <a href="https://embedpress.com/docs/embedpress-with-elementor/" class="has__question" target="_blank">
183 <i class="ep-icon ep-question"></i>
184 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
185 </a>
186 <label class="input__switch element_switch">
187 <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="elementor" <?php echo isset( $e_blocks['embedpress']) ? 'checked': ''; ?> >
188 <span></span>
189 </label>
190
191 </div>
192 <div class="element__item">
193 <h5>EmbedPress Document</h5>
194 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
195 <i class="ep-icon ep-question"></i>
196 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
197 </a>
198 <label class="input__switch element_switch">
199 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-document" data-type="elementor" <?php echo isset( $e_blocks['embedpress-document']) ? 'checked': ''; ?> >
200 <span></span>
201 </label>
202
203 </div>
204
205 <div class="element__item">
206 <h5>EmbedPress PDF</h5>
207 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
208 <i class="ep-icon ep-question"></i>
209 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
210 </a>
211 <label class="input__switch element_switch">
212 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-pdf" data-type="elementor" <?php echo isset( $e_blocks['embedpress-pdf']) ? 'checked': ''; ?> >
213 <span></span>
214 </label>
215
216 </div>
217
218 <div class="element__item">
219 <h5>EmbedPress Calendar</h5>
220 <a href="https://embedpress.com/docs/embed-google-calendar-in-wordpress" class="has__question" target="_blank">
221 <i class="ep-icon ep-question"></i>
222 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
223 </a>
224 <label class="input__switch element_switch">
225 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-calendar" data-type="elementor" <?php echo isset( $e_blocks['embedpress-calendar']) ? 'checked': ''; ?> >
226 <span></span>
227 </label>
228
229 </div>
230 </div>
231 </div>
232 </div>
233 <!--CLASSIC EDITOR SETTINGS STARTS-->
234 <div class="background__white radius-16 p-24">
235 <div class="embedpress--elements__wrap">
236 <h3>Classic Editor</h3>
237 <div class="embedpress__row grid__3">
238 <div class="element__item">
239 <h5><?php esc_html_e( "Preview In Frontend", "embedpress" ); ?></h5>
240 <label class="input__switch element_switch">
241 <input class="element-check" type="checkbox" value="1" data-name="enablePluginInFront" data-type="classic" <?php echo $enablePluginInFront ? 'checked': ''; ?> >
242 <span></span>
243 </label>
244
245 </div>
246 <div class="element__item">
247 <h5><?php esc_html_e( "Preview In Editor", "embedpress" ); ?></h5>
248 <label class="input__switch element_switch">
249 <input class="element-check" type="checkbox" value="1" data-name="enablePluginInAdmin" data-type="classic" <?php echo $enablePluginInAdmin ? 'checked': ''; ?> >
250 <span></span>
251 </label>
252
253 </div>
254 </div>
255 </div>
256 </div>
257
258