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