PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.5.2
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.5.2
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Core/Admin.php +14 -39 3.6.23.5.2 View file →
@@ -202,45 +202,23 @@
202 202 $_localize_handle = 'templately-' . $hook;
203 203 $script_dependencies[] = $_localize_handle;
204 204 }
205 205
206 - if ( 'templately_page_templately_settings' === $hook ) {
207 - templately()->assets->register( 'settings-vendor', 'js/chunks/settings-vendor.js', [], true );
208 - $script_dependencies[] = 'settings-vendor';
209 - }
210 -
211 206 if ( $hook === 'toplevel_page_templately' || $hook == 'edit.php' || 'templately_page_templately_settings' === $hook ) {
212 207 templately()->assets->enqueue( 'templately-admin', 'css/admin.css', [ 'templately' ] );
213 208 }
214 209
215 - // Google Fonts Enqueueing
216 - // DM Sans - Used in general UI
210 + // Google Font Enqueueing
217 211 templately()->assets->enqueue(
218 212 'templately-dmsans',
219 213 set_url_scheme( '//fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap' )
220 214 );
221 215
222 - // Inter - Used in Tailwind components and various UI elements
223 - templately()->assets->enqueue(
224 - 'templately-inter',
225 - set_url_scheme( '//fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap' )
226 - );
227 -
228 - // DM Mono - Used in settings and code-related UI
229 - templately()->assets->enqueue(
230 - 'templately-dmmono',
231 - set_url_scheme( '//fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap' )
232 - );
233 -
234 216 wp_enqueue_style('wp-components');
235 217
236 218 wp_enqueue_media();
237 219 templately()->assets->enqueue( 'templately', 'js/templately.js', $script_dependencies, true );
238 - templately()->assets->enqueue( 'templately', 'css/templately.css', ['templately-dmsans', 'templately-inter'] );
239 - $tailwind_hooks = apply_filters( 'templately_tailwind_hooks', [ 'toplevel_page_templately', 'elementor', 'gutenberg', 'templately_page_templately_settings' ] );
240 - if ( in_array( $hook, $tailwind_hooks, true ) ) {
241 - templately()->assets->enqueue( 'templately-tailwind', 'css/tailwind.css', ['templately', 'templately-inter'] );
242 - }
220 + templately()->assets->enqueue( 'templately', 'css/templately.css', ['templately-dmsans'] );
243 221
244 222 /**
245 223 * @var Elementor|Gutenberg $platform
246 224 */
@@ -270,9 +248,8 @@
270 248 'not_found' => templately()->assets->icon( 'no-item-found.png' ),
271 249 'no_items' => templately()->assets->icon( 'no-items.png' ),
272 250 'loadingImage' => templately()->assets->icon( 'logos/loading-logo.gif' ),
273 251 'current_url' => admin_url( 'admin.php?page=templately' ),
274 - 'wp_dashboard_url' => admin_url( 'index.php' ),
275 252 'is_signed' => Login::is_signed(),
276 253 'is_globally_signed' => Login::is_globally_signed(),
277 254 'signed_as_global' => Login::signed_as_global(),
278 255 'current_screen' => $_current_screen,
@@ -287,9 +264,8 @@
287 264 'wp_user_avatar' => get_avatar_url( get_current_user_id(), [ 'size' => 96 ] ),
288 265 'allowed_mime_types' => get_allowed_mime_types(),
289 266 'is_free_user' => $global_user === false || isset( $global_user['plan'] ) && $global_user['plan'] == 'free',
290 267 'is_disconnected' => ! empty( $global_user['is_disconnected'] ),
291 - 'tour_status' => Options::get_instance()->get( 'tour_status', [] ),
292 268 ], $templately );
293 269
294 270 // Apply filter to allow network admin modifications
295 271 $templately = apply_filters( 'templately_admin_localized_data', $templately );
@@ -367,9 +343,9 @@
367 343 'class' => 'dismiss-btn'
368 344 ]
369 345 ],
370 346 'support' => [
371 - 'link' => 'https://templately.com/?support=open',
347 + 'link' => 'https://wpdeveloper.com/support',
372 348 'attributes' => [
373 349 'target' => '_blank'
374 350 ],
375 351 'label' => __( 'I need help', 'templately' ),
@@ -423,39 +399,38 @@
423 399 // 'nav-menus'
424 400 // ]
425 401 // ] );
426 402
427 - // spring_savings_2026 notice
428 - $_notice_text_spring_savings_2026 = '<p style="margin-top: 0; margin-bottom: 0px;">🌸 Spring Savings: Design Website Quickly With 6,500+ Elementor & Gutenberg Templates, Including AI-Powered Features ⚡️ – Now <strong>Flat 50% OFF!</strong></p>';
403 + $notice_text = '<p style="margin-top: 0; margin-bottom: 0px;">Smarter & Faster Web Design With 6,500+ AI-Powered Elementor & Gutenberg Templates – Now <strong>Up To 50% OFF!</strong> 🎁</p>';
429 404
430 - $_spring_savings_2026 = [
405 + $_black_friday = [
431 406 'thumbnail' => templately()->assets->icon( 'logos/logo-full.svg' ),
432 - 'html' => $_notice_text_spring_savings_2026,
407 + 'html' => $notice_text,
433 408 'links' => [
434 - 'later' => [
409 + 'later' => [
435 410 'link' => 'https://templately.com/#pricing',
436 411 'target' => '_blank',
437 - 'label' => __( 'Upgrade To Pro Now', 'templately' ),
412 + 'label' => __( 'Upgrade To PRO', 'templately' ),
438 413 'attributes' => [
439 414 'class' => 'button button-primary',
440 415 ]
441 416 ],
442 417 'never_show_again' => [
443 - 'label' => __( 'Maybe Later', 'templately' ),
418 + 'label' => __( 'I’ll Grab It Later', 'templately' ),
444 419 'attributes' => [
445 420 'data-dismiss' => true,
446 421 'class' => 'button button-link dismiss-btn',
447 422 ]
448 - ],
423 + ]
449 424 ],
450 425 ];
451 426
452 - $notices->add( 'spring_savings_2026', $_spring_savings_2026, [
453 - 'start' => $notices->strtotime('00:00:01AM 8th April, 2026'),
427 + $notices->add( 'holiday_2026_feb', $_black_friday, [
428 + 'start' => $notices->strtotime('00:00:01AM 10th February, 2026'),
454 429 'recurrence' => false,
455 430 'dismissible' => true,
456 431 'refresh' => TEMPLATELY_VERSION,
457 - "expire" => strtotime( '11:59:59pm 10th May, 2026' ),
432 + "expire" => strtotime( '11:59:59pm 8th March, 2026' ),
458 433 'display_if' => !wp_is_mobile(),
459 434 'screens' => [
460 435 'dashboard',
461 436 ],
@@ -475,9 +450,9 @@
475 450 'https://templately.com/#pricing'
476 451 );
477 452 $holiday_text .= sprintf(
478 453 '<button class="button button-link dismiss-btn" data-dismiss="true">%1$s</button>',
479 - __('No, I\'ll Pay Full Price Later', 'templately'),
454 + __('No, I’ll Pay Full Price Later', 'templately'),
480 455 );
481 456 $holiday_text .= "</div>";
482 457
483 458