PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 4.0.29
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v4.0.29
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / admin / tabs / content-delivery-network.php

content-delivery-network.php in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 4.0.29, at admin/tabs/content-delivery-network.php

38 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) exit;
3
4 // cdn exclusions
5 $cdn_exclude = get_option('berq_exclude_cdn', []);
6 $cdn_exclude_keywords = implode("\n", $cdn_exclude);
7
8
9 ?>
10 <div id="content-delivery-network" <?php bwp_is_tab('content-delivery-network'); ?>>
11 <h2 class="berq-tab-title"><?php esc_html_e('Content Delivery Network (CDN)', 'searchpro'); ?></h2>
12 <div class="berq-info-box berq-setting-group">
13 <div class="group-container">
14 <h3 class="berq-box-title <?php echo !$berqwp_can_use_cloud ? 'cloud-exclusive' : ''; ?>"><?php printf( /* translators: %s: Plugin name */ esc_html__('%s CDN', 'searchpro'), esc_html($plugin_name) ); ?></h3>
15 <div class="berq-box-content berq-setting-toggle">
16 <div class="berq-option-content">
17 <p><?php printf( /* translators: %s: Plugin name */ esc_html__('%s CDN delivers static files instantly to enhance website performance and user experience globally.', 'searchpro'), esc_html($plugin_name) ); ?></p>
18 </div>
19 <?php berqwp_render_toggle('berqwp_enable_cdn', get_option('berqwp_enable_cdn')); ?>
20 </div>
21 </div>
22
23 <div class="group-container">
24 <h3 class="berq-box-title"><?php esc_html_e('CDN Exclusions', 'searchpro'); ?></h3>
25 <div class="berq-box-content">
26 <p><?php esc_html_e('Define keywords to exclude from the CDN (one per line).', 'searchpro'); ?></p>
27 <textarea name="berq_exclude_cdn" cols="30" rows="10"><?php echo esc_textarea($cdn_exclude_keywords); ?></textarea>
28 </div>
29 </div>
30 </div>
31 <button type="submit" class="berqwp-save"><svg width="20" height="20" viewBox="0 0 20 20" fill="none"
32 xmlns="http://www.w3.org/2000/svg">
33 <path d="M4.16663 10.8333L7.49996 14.1667L15.8333 5.83334" stroke="white" stroke-width="2"
34 stroke-linecap="round" stroke-linejoin="round" />
35 </svg>
36 <?php esc_html_e("Save changes", "searchpro"); ?></button>
37 </div>
38