PluginProbe ʕ •ᴥ•ʔ
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents / 3.0.1
EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents v3.0.1
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 5 years ago custom-logo.php 5 years ago elements.php 5 years ago general.php 5 years ago go-premium.php 5 years ago license.php 5 years ago main-template.php 5 years ago twitch.php 5 years ago vimeo.php 5 years ago wistia.php 5 years ago youtube.php 5 years ago
elements.php
209 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="emement__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 100+ 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="emement__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="emement__item">
40 <h5>YouTube</h5>
41 <a href="https://embedpress.com/docs/embed-youtube-videos-in-gutenberg/" 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="youtube-block" data-type="gutenberg" <?php echo isset( $g_blocks['youtube-block']) ? 'checked': ''; ?> >
47 <span></span>
48 </label>
49 </div>
50 <div class="emement__item">
51 <h5>Google Docs</h5>
52 <a href="https://embedpress.com/docs/embed-google-docs-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="google-docs-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-docs-block']) ? 'checked': ''; ?> >
58 <span></span>
59 </label>
60 </div>
61 <div class="emement__item">
62 <h5>Google Slides</h5>
63 <a href="https://embedpress.com/docs/embed-google-slides-wordpress/" 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="google-slides-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-slides-block']) ? 'checked': ''; ?> >
69 <span></span>
70 </label>
71 </div>
72 <div class="emement__item">
73 <h5>Google Sheets</h5>
74 <a href="https://embedpress.com/docs/embed-google-sheets-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-sheets-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-sheets-block']) ? 'checked': ''; ?> >
80 <span></span>
81 </label>
82 </div>
83 <div class="emement__item">
84 <h5>Google Forms</h5>
85 <a href="https://embedpress.com/docs/embed-google-forms-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-forms-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-forms-block']) ? 'checked': ''; ?> >
91 <span></span>
92 </label>
93 </div>
94 <div class="emement__item">
95 <h5>Google Drawings</h5>
96 <a href="https://embedpress.com/docs/embed-google-drawings-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-drawings-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-drawings-block']) ? 'checked': ''; ?> >
102 <span></span>
103 </label>
104 </div>
105 <div class="emement__item">
106 <h5>Google Maps</h5>
107 <a href="https://embedpress.com/docs/embed-google-maps-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-maps-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-maps-block']) ? 'checked': ''; ?> >
113 <span></span>
114 </label>
115 </div>
116 <div class="emement__item">
117 <h5>Twitch</h5>
118 <a href="https://embedpress.com/docs/embed-twitch-live-chat/" 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="twitch-block" data-type="gutenberg" <?php echo isset( $g_blocks['twitch-block']) ? 'checked': ''; ?> >
124 <span></span>
125 </label>
126 </div>
127 <div class="emement__item">
128 <h5>Wistia</h5>
129 <a href="https://embedpress.com/docs/embed-wistia-videos-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="wistia-block" data-type="gutenberg" <?php echo isset( $g_blocks['wistia-block']) ? 'checked': ''; ?> >
135 <span></span>
136 </label>
137 </div>
138 <div class="emement__item">
139 <h5>Vimeo</h5>
140 <a href="https://embedpress.com/docs/embed-vimeo-videos-wordpress/" 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="vimeo-block" data-type="gutenberg" <?php echo isset( $g_blocks['vimeo-block']) ? 'checked': ''; ?> >
146 <span></span>
147 </label>
148 </div>
149 </div>
150 </div>
151 </div>
152 <!--ELEMENTOR WIDGETS STARTS -->
153 <div class="background__white p40 radius-25 mb30">
154 <div class="embedpress--elements__wrap">
155 <h3>Elementor</h3>
156 <div class="embedpress__row grid__3">
157 <div class="emement__item">
158 <h5>EmbedPress</h5>
159 <a href="https://embedpress.com/docs/embedpress-with-elementor/" class="has__question" target="_blank">
160 <i class="ep-icon ep-question"></i>
161 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
162 </a>
163 <label class="input__switch element_switch">
164 <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="elementor" <?php echo isset( $e_blocks['embedpress']) ? 'checked': ''; ?> >
165 <span></span>
166 </label>
167
168 </div>
169 <div class="emement__item">
170 <h5>EmbedPress Document</h5>
171 <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
172 <i class="ep-icon ep-question"></i>
173 <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
174 </a>
175 <label class="input__switch element_switch">
176 <input class="element-check" type="checkbox" value="yes" data-name="embedpress-document" data-type="elementor" <?php echo isset( $e_blocks['embedpress-document']) ? 'checked': ''; ?> >
177 <span></span>
178 </label>
179
180 </div>
181 </div>
182 </div>
183 </div>
184 <!--CLASSIC EDITOR SETTINGS STARTS-->
185 <div class="background__white radius-25 p40">
186 <div class="embedpress--elements__wrap">
187 <h3>Classic Editor</h3>
188 <div class="embedpress__row grid__3">
189 <div class="emement__item">
190 <h5><?php esc_html_e( "Preview In Frontend", "embedpress" ); ?></h5>
191 <label class="input__switch element_switch">
192 <input class="element-check" type="checkbox" value="1" data-name="enablePluginInFront" data-type="classic" <?php echo $enablePluginInFront ? 'checked': ''; ?> >
193 <span></span>
194 </label>
195
196 </div>
197 <div class="emement__item">
198 <h5><?php esc_html_e( "Preview In Editor", "embedpress" ); ?></h5>
199 <label class="input__switch element_switch">
200 <input class="element-check" type="checkbox" value="1" data-name="enablePluginInAdmin" data-type="classic" <?php echo $enablePluginInAdmin ? 'checked': ''; ?> >
201 <span></span>
202 </label>
203
204 </div>
205 </div>
206 </div>
207 </div>
208
209