PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.4.23
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.4.23
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
darkify / src / Admin / HelpPage / Help.php

Help.php in Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) 1.4.23, at src/Admin/HelpPage/Help.php

984 lines 53.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ThemeAtelier\Darkify\Admin\HelpPage;
4
5 if (! defined('ABSPATH')) {
6 exit;
7 } // if direct access.
8
9 /**
10 * The help class for the Testimonial Free
11 */
12 class Help
13 {
14
15 /**
16 * Single instance of the class
17 *
18 * @var null
19 */
20 protected static $_instance = null;
21
22 /**
23 * Plugins Path variable.
24 *
25 * @var array
26 */
27 protected static $plugins = array(
28 'darkify' => 'darkify.php',
29 'domain-for-sale' => 'domain-for-sale.php',
30 'ask-faq' => 'ask-faq.php',
31 'attentive-security' => 'attentive-security.php',
32 'better-chat-support' => 'messenger-chat-support.php',
33 'bizreview' => 'bizreview.php',
34 'booklet-booking-system' => 'booklet.php',
35 'skype-chat' => 'skype-chat.php',
36 'chat-help' => 'chat-whatsapp.php',
37 'chat-telegram' => 'telegram-chat.php',
38 'chat-viber' => 'chat-viber-lite.php',
39 'click-to-dial' => 'click-to-dial.php',
40 'click-to-mail' => 'click-to-mail.php',
41 'eventful' => 'eventful.php',
42 'eventful-for-elementor' => 'eventful-for-elementor.php',
43 'postify' => 'postify.php',
44 'idonate' => 'idonate.php',
45 );
46
47
48 /**
49 * Welcome pages
50 *
51 * @var array
52 */
53 public $pages = array(
54 'darkify',
55 );
56
57 /**
58 * Not show this plugin list.
59 *
60 * @var array
61 */
62 protected static $not_show_plugin_list = array(
63 'darkify',
64 'idonate',
65 'bizreview',
66 'chat-viber',
67 'chat-telegram',
68 'click-to-dial',
69 'chat-skype',
70 'click-to-mail',
71 'ask-faq',
72 'attentive-security',
73 'booklet-booking-system',
74 'postify',
75 );
76
77 /**
78 * Help page construct function.
79 */
80 public function __construct()
81 {
82
83 $page = isset($_GET['page']) ? sanitize_text_field(wp_unslash($_GET['page'])) : '';
84 if ('darkify' !== $page) {
85 return;
86 }
87 }
88
89 /**
90 * Main Help page Instance
91 *
92 * @static
93 * @return self Main instance
94 */
95 public static function instance()
96 {
97 if (is_null(self::$_instance)) {
98 self::$_instance = new self();
99 }
100
101 return self::$_instance;
102 }
103
104
105
106 /**
107 * Sprtf_plugins_info_api_help_page function.
108 *
109 * @return void
110 */
111 public function themeatelier_plugins_info_api_help_page()
112 {
113 $plugins_arr = get_transient('themeatelier_plugins');
114 if (false === $plugins_arr) {
115 $args = (object) array(
116 'author' => 'themeatelier',
117 'per_page' => '120',
118 'page' => '1',
119 'fields' => array(
120 'slug',
121 'name',
122 'version',
123 'downloaded',
124 'active_installs',
125 'last_updated',
126 'rating',
127 'num_ratings',
128 'short_description',
129 'author',
130 ),
131 );
132 $request = array(
133 'action' => 'query_plugins',
134 'timeout' => 30,
135 'request' => serialize($args),
136 );
137 // https://codex.wordpress.org/WordPress.org_API.
138 $url = 'http://api.wordpress.org/plugins/info/1.0/';
139 $response = wp_remote_post($url, array('body' => $request));
140
141 if (! is_wp_error($response)) {
142
143 $plugins_arr = array();
144 $plugins = unserialize($response['body']);
145
146 if (isset($plugins->plugins) && (count($plugins->plugins) > 0)) {
147 foreach ($plugins->plugins as $pl) {
148 if (! in_array($pl->slug, self::$not_show_plugin_list, true)) {
149 $plugins_arr[] = array(
150 'slug' => $pl->slug,
151 'name' => $pl->name,
152 'version' => $pl->version,
153 'downloaded' => $pl->downloaded,
154 'active_installs' => $pl->active_installs,
155 'last_updated' => strtotime($pl->last_updated),
156 'rating' => $pl->rating,
157 'num_ratings' => $pl->num_ratings,
158 'short_description' => $pl->short_description,
159 );
160 }
161 }
162 }
163
164 set_transient('themeatelier_plugins', $plugins_arr, 24 * HOUR_IN_SECONDS);
165 }
166 }
167
168 if (is_array($plugins_arr) && (count($plugins_arr) > 0)) {
169 array_multisort(array_column($plugins_arr, 'active_installs'), SORT_DESC, $plugins_arr);
170
171
172 foreach ($plugins_arr as $plugin) {
173 $plugin_slug = $plugin['slug'];
174 $image_type = 'png';
175 if (isset(self::$plugins[$plugin_slug])) {
176 $plugin_file = self::$plugins[$plugin_slug];
177 } else {
178 $plugin_file = $plugin_slug . '.php';
179 }
180
181 switch ($plugin_slug) {
182 case 'postify':
183 $image_type = 'jpg';
184 break;
185 case 'darkify':
186 $image_type = 'gif';
187 break;
188 }
189
190 $details_link = network_admin_url('plugin-install.php?tab=plugin-information&amp;plugin=' . $plugin['slug'] . '&amp;TB_iframe=true&amp;width=600&amp;height=550');
191 ?>
192 <div class="plugin-card <?php echo esc_attr($plugin_slug); ?>" id="<?php echo esc_attr($plugin_slug); ?>">
193 <div class="plugin-card-top">
194 <div class="name column-name">
195 <h3>
196 <a class="thickbox" title="<?php echo esc_attr($plugin['name']); ?>"
197 href="<?php echo esc_url($details_link); ?>">
198 <?php echo esc_html($plugin['name']); ?>
199 <img src="<?php echo esc_url('https://ps.w.org/' . $plugin_slug . '/assets/icon-256x256.' . $image_type); ?>"
200 class="plugin-icon" />
201 </a>
202 </h3>
203 </div>
204 <div class="action-links">
205 <ul class="plugin-action-buttons">
206 <li>
207 <?php
208 if ($this->is_plugin_installed($plugin_slug, $plugin_file)) {
209 if ($this->is_plugin_active($plugin_slug, $plugin_file)) {
210 ?>
211 <button type="button" class="button button-disabled" disabled="disabled">Active</button>
212 <?php
213 } else {
214 ?>
215 <a href="<?php echo esc_url($this->activate_plugin_link($plugin_slug, $plugin_file)); ?>"
216 class="button button-primary activate-now">
217 <?php esc_html_e('Activate', 'darkify'); ?>
218 </a>
219 <?php
220 }
221 } else {
222 ?>
223 <a href="<?php echo esc_url($this->install_plugin_link($plugin_slug)); ?>"
224 class="button install-now">
225 <?php esc_html_e('Install Now', 'darkify'); ?>
226 </a>
227 <?php } ?>
228 </li>
229 <li>
230 <a href="<?php echo esc_url($details_link); ?>" class="thickbox open-plugin-details-modal"
231 aria-label="<?php echo esc_html('More information about ' . $plugin['name']); ?>"
232 title="<?php echo esc_attr($plugin['name']); ?>">
233 <?php esc_html_e('More Details', 'darkify'); ?>
234 </a>
235 </li>
236 </ul>
237 </div>
238 <div class="desc column-description">
239 <p><?php echo esc_html(isset($plugin['short_description']) ? $plugin['short_description'] : ''); ?></p>
240 <p class="authors"> <cite>By <a href="https://themeatelier.com/">Themeatelier</a></cite></p>
241 </div>
242 </div>
243 <?php
244 echo '<div class="plugin-card-bottom">';
245
246 if (isset($plugin['rating'], $plugin['num_ratings'])) {
247 ?>
248 <div class="vers column-rating">
249 <?php
250 wp_star_rating(
251 array(
252 'rating' => $plugin['rating'],
253 'type' => 'percent',
254 'number' => $plugin['num_ratings'],
255 )
256 );
257 ?>
258 <span class="num-ratings">(<?php echo esc_html(number_format_i18n($plugin['num_ratings'])); ?>)</span>
259 </div>
260 <?php
261 }
262 if (isset($plugin['version'])) {
263 ?>
264 <div class="column-updated">
265 <strong><?php esc_html_e('Version:', 'darkify'); ?></strong>
266 <span><?php echo esc_html($plugin['version']); ?></span>
267 </div>
268 <?php
269 }
270
271 if (isset($plugin['active_installs'])) {
272 ?>
273 <div class="column-downloaded">
274 <?php echo esc_html(number_format_i18n($plugin['active_installs'])) . esc_html__('+ Active Installations', 'darkify'); ?>
275 </div>
276 <?php
277 }
278
279 if (isset($plugin['last_updated'])) {
280 ?>
281 <div class="column-compatibility">
282 <strong><?php esc_html_e('Last Updated:', 'darkify'); ?></strong>
283 <span><?php echo esc_html(human_time_diff($plugin['last_updated'])) . ' ' . esc_html__('ago', 'darkify'); ?></span>
284 </div>
285 <?php
286 }
287
288 echo '</div>';
289 ?>
290 </div>
291 <?php
292 }
293 }
294 }
295
296 /**
297 * Check plugins installed function.
298 *
299 * @param string $plugin_slug Plugin slug.
300 * @param string $plugin_file Plugin file.
301 * @return boolean
302 */
303 public function is_plugin_installed($plugin_slug, $plugin_file)
304 {
305 return file_exists(WP_PLUGIN_DIR . '/' . $plugin_slug . '/' . $plugin_file);
306 }
307
308 /**
309 * Check active plugin function
310 *
311 * @param string $plugin_slug Plugin slug.
312 * @param string $plugin_file Plugin file.
313 * @return boolean
314 */
315 public function is_plugin_active($plugin_slug, $plugin_file)
316 {
317 return is_plugin_active($plugin_slug . '/' . $plugin_file);
318 }
319
320 /**
321 * Install plugin link.
322 *
323 * @param string $plugin_slug Plugin slug.
324 * @return string
325 */
326 public function install_plugin_link($plugin_slug)
327 {
328 return wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=' . $plugin_slug), 'install-plugin_' . $plugin_slug);
329 }
330
331 /**
332 * Active Plugin Link function
333 *
334 * @param string $plugin_slug Plugin slug.
335 * @param string $plugin_file Plugin file.
336 * @return string
337 */
338 public function activate_plugin_link($plugin_slug, $plugin_file)
339 {
340 return wp_nonce_url(admin_url('admin.php?page=darkify&action=activate&plugin=' . $plugin_slug . '/' . $plugin_file . '#tab=help#recommended'), 'activate-plugin_' . $plugin_slug . '/' . $plugin_file);
341 }
342
343
344
345 /**
346 * The Chat Help Help Callback.
347 *
348 * @return void
349 */
350 public function help_page_callback()
351 {
352 add_thickbox();
353
354 $action = isset($_GET['action']) ? sanitize_text_field(wp_unslash($_GET['action'])) : '';
355 $plugin = isset($_GET['plugin']) ? sanitize_text_field(wp_unslash($_GET['plugin'])) : '';
356 $_wpnonce = isset($_GET['_wpnonce']) ? sanitize_text_field(wp_unslash($_GET['_wpnonce'])) : '';
357
358 if (isset($action, $plugin) && ('activate' === $action) && wp_verify_nonce($_wpnonce, 'activate-plugin_' . $plugin)) {
359 activate_plugin($plugin, '', false, true);
360 }
361
362 if (isset($action, $plugin) && ('deactivate' === $action) && wp_verify_nonce($_wpnonce, 'deactivate-plugin_' . $plugin)) {
363 deactivate_plugins($plugin, '', false, true);
364 }
365
366 ?>
367 <div class="darkify">
368 <!-- Header section start -->
369 <section class="themeatelier__help header themeatelier-container">
370 <div class="themeatelier-container">
371 <div class="header_nav">
372 <div class="header_nav_left">
373
374 <div class="header_nav_menu">
375 <ul>
376 <li>
377 <a href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify#tab=help#get-start'); ?>" data-id="get-start-tab" class="active">
378 <i class="icofont-play-alt-2"></i>
379 <?php echo esc_html__('Get Started', 'darkify') ?>
380 </a>
381 </li>
382 <li>
383 <a href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify#tab=help#recommended'); ?>" data-id="recommended-tab">
384 <i class="icofont-thumbs-up"></i>
385 <?php echo esc_html__('Recommended', 'darkify') ?>
386 </a>
387 </li>
388 <li>
389 <a href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify#tab=help#lite-to-pro'); ?>" data-id="lite-to-pro-tab">
390 <i class="icofont-badge"></i>
391 <?php echo esc_html__('Lite vs. Pro', 'darkify') ?>
392 </a>
393 </li>
394 <li>
395 <a href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify#tab=help#pro-plugins'); ?>" data-id="pro-plugins-tab">
396 <i class="icofont-info-circle"></i>
397 <?php echo esc_html__('Pro Plugins', 'darkify') ?>
398 </a>
399 </li>
400 </ul>
401 </div>
402 </div>
403 <div class="header_nav_right">
404 <div class="header_nav_right_menu">
405 <a target="_blank" href="<?php echo esc_url(DARKIFY_DEMO_URL . 'pricing/?ref=1'); ?>">
406 <?php echo esc_html__('🚀 Upgrading To Pro!', 'darkify'); ?>
407 </a>
408 </div>
409 </div>
410 </div>
411 </div>
412 </section>
413 <!--header section end -->
414
415 <!-- Start Page -->
416 <section class="start_page tab-content active" id="get-start-tab">
417 <div class="themeatelier-container">
418 <div class="start_page_wrapper">
419 <div class="start_page_nav">
420 <div class="nav_left">
421 <h2 class="section_title"><?php echo esc_html('Welcome to Darkify!', 'darkify') ?><span class="version__badge"><?php echo esc_html(DARKIFY_VERSION) ?></span></h2>
422 <span class="section_subtitle">
423 <?php echo esc_html__('Thank you for installing Darkify! This playlist will help you get started. Enjoy!', 'darkify') ?>
424 </span>
425 </div>
426 <div class="nev_right">
427 <i class="icofont-youtube-play"></i>
428 <a target="_blank" href="https://www.youtube.com/@themeatelier">Themeatelier</a>
429 </div>
430 </div>
431 <div class="section_video">
432 <div class="video">
433 <iframe width="724" height="405" src="https://www.youtube.com/embed/camMkoEa_4Q"
434 title="Darkify - Overview" frameborder="0"
435 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
436 referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
437 </div>
438 <div class="section_video_play_list">
439
440 <div class="play_list_item active" data-video_id="camMkoEa_4Q">
441 <div class="play_list_item_title">
442 <h3>Overview</h3>
443 </div>
444 <div class="play_list_item_content">
445 <div class="title">How to Use Darkify Dark Mode Free Plugin</div>
446 <span>4:19</span>
447 </div>
448 </div>
449
450 <div class="play_list_item" data-video_id="14eXSmcipQI">
451 <div class="play_list_item_title">
452 <h3>Controls</h3>
453 </div>
454 <div class="play_list_item_content">
455 <div class="title">Darkify Control Settings Explained</div>
456 <span>4:12</span>
457 </div>
458 </div>
459
460 <div class="play_list_item" data-video_id="1TbW7aBwA2I">
461 <div class="play_list_item_title">
462 <h3>Switches</h3>
463 </div>
464 <div class="play_list_item_content">
465 <div class="title">Darkify Swatches Settings Explained</div>
466 <span>3:44</span>
467 </div>
468 </div>
469
470 <div class="play_list_item" data-video_id="jchzlK-ifG8">
471 <div class="play_list_item_title">
472 <h3>Colors</h3>
473 </div>
474 <div class="play_list_item_content">
475 <div class="title">Darkify Color Presets Explained</div>
476 <span>2:37</span>
477 </div>
478 </div>
479
480 <div class="play_list_item" data-video_id="JjlQ-sby4gc">
481 <div class="play_list_item_title">
482 <h3>Media</h3>
483 </div>
484 <div class="play_list_item_content">
485 <div class="title">Darkify Media Settings Explained</div>
486 <span>5:23</span>
487 </div>
488 </div>
489
490 <div class="play_list_item" data-video_id="q1liB1qxFno">
491 <div class="play_list_item_title">
492 <h3>Advanced</h3>
493 </div>
494 <div class="play_list_item_content">
495 <div class="title">Darkify Advanced Settings Explained</div>
496 <span>2:42</span>
497 </div>
498 </div>
499 </div>
500 </div>
501
502 <ul class="section_buttons">
503 <li>
504 <a class="chat_btn_primary"
505 href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify'); ?>"><?php echo esc_html__('Plugin Settings', 'darkify') ?></a>
506 </li>
507 <li>
508 <a target="_blank" class="chat_btn_secondary"
509 href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>"><?php echo esc_html__('Live Demo', 'darkify') ?></a>
510 </li>
511 <li>
512 <a target="_blank" class="chat_btn_secondary arrow-btn"
513 href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>pricing/?ref=1"><?php echo esc_html__('Upgrade To Pro', 'darkify') ?>
514 </a>
515 </li>
516 </ul>
517 </div>
518 <div class="section_quick_help">
519 <div class="quick_help_wrapper">
520 <a target="_blank" href="<?php echo esc_url(DARKIFY_DOCS_URL); ?>" class="quick_help_item">
521 <div class="quick_help_item_icon"><i class="icofont-file-document"></i></div>
522 <div class="quick_help_item_content">
523 <h4 class="quick_help_item_title">
524 <?php echo esc_html__('Documentation', 'darkify') ?>
525 </h4>
526 <div class="content"><?php echo esc_html__('Explore Darkify’s features in our detailed documentation.', 'darkify') ?></div>
527 </div>
528 </a>
529 <a target="_blank" href="https://wordpress.org/support/plugin/darkify/" class="quick_help_item">
530 <div class="quick_help_item_icon"><i class="icofont-live-support"></i></div>
531 <div class="quick_help_item_content">
532 <h4 class="quick_help_item_title">
533 <?php echo esc_html__('Technical Support', 'darkify') ?>
534 </h4>
535 <div class="content"><?php echo esc_html__('For personalized assistance, contact our support team for quick help.', 'darkify') ?></div>
536 </div>
537 </a>
538 <a target="_blank" href="https://www.themeatelier.net/contact/" class="quick_help_item">
539 <div class="quick_help_item_icon"><i class="icofont-users-alt-5"></i></div>
540 <div class="quick_help_item_content">
541 <h4 class="quick_help_item_title">
542 <?php echo esc_html__('Hire Us!', 'darkify') ?>
543 </h4>
544 <div class="content"><?php echo esc_html__('We are available for freelance work for any WordPress, React, NextJS projects. Click to contact us.', 'darkify') ?></div>
545 </div>
546 </a>
547 </div>
548 </div>
549 </div>
550 </section>
551
552 <!-- Recommended Page -->
553 <section id="recommended-tab" class="recommended_page tab-content">
554 <div class="themeatelier-container">
555 <h2 class="help_page_title">Enhance Your Website with Our Free & Powerful Plugins</h2>
556 <div class="themeatelier-wp-list-table plugin-install-php">
557 <div class="recommended_plugins" id="the-list">
558 <?php
559 $this->themeatelier_plugins_info_api_help_page();
560 ?>
561 </div>
562 </div>
563 </div>
564 </section>
565
566 <!-- Lite To Pro Page -->
567 <section class="themeatelier__help lite_vs_pro_page tab-content" id="lite-to-pro-tab">
568 <div class="themeatelier-container">
569 <h2 class="help_page_title">Lite vs. Pro Comparison</h2>
570
571 <div class="themeatelier-features">
572 <ul>
573 <li class="themeatelier-header">
574 <span class="themeatelier-title"><?php echo esc_html__('FEATURES', 'darkify'); ?></span>
575 <span class="themeatelier-free"><?php echo esc_html__('Lite', 'darkify'); ?></span>
576 <span class="themeatelier-pro">🚀<?php echo esc_html__('PRO', 'darkify'); ?></span>
577 </li>
578 <li class="themeatelier-body">
579 <span class="themeatelier-title"><?php echo esc_html__('All Free Version Features', 'darkify'); ?></span>
580 <span class="themeatelier-free themeatelier-check-icon"></span>
581 <span class="themeatelier-pro themeatelier-check-icon"></span>
582 </li>
583 <li class="themeatelier-body">
584 <span class="themeatelier-title">
585 <?php echo esc_html__('Instant Dark Mode', 'darkify'); ?>
586 </span>
587 <span class="themeatelier-free themeatelier-check-icon"></span>
588 <span class="themeatelier-free themeatelier-check-icon"></span>
589 </li>
590
591 <li class="themeatelier-body">
592 <span class="themeatelier-title">
593 <?php echo esc_html__('Admin Dashboard Dark Mode', 'darkify'); ?>
594 </span>
595 <span class="themeatelier-free themeatelier-check-icon"></span>
596 <span class="themeatelier-free themeatelier-check-icon"></span>
597 </li>
598
599 <li class="themeatelier-body">
600 <span class="themeatelier-title">
601 <?php echo esc_html__('Default Dark Theme', 'darkify'); ?>
602 </span>
603 <span class="themeatelier-free themeatelier-check-icon"></span>
604 <span class="themeatelier-free themeatelier-check-icon"></span>
605 </li>
606
607 <li class="themeatelier-body">
608 <span class="themeatelier-title">
609 <?php echo esc_html__('Auto Dark Mode (OS-Based)', 'darkify'); ?>
610 </span>
611 <span class="themeatelier-free themeatelier-check-icon"></span>
612 <span class="themeatelier-free themeatelier-check-icon"></span>
613 </li>
614
615 <li class="themeatelier-body">
616 <span class="themeatelier-title">
617 <?php echo esc_html__('Scheduled Dark Mode ⏰', 'darkify'); ?>
618 </span>
619 <span class="themeatelier-free themeatelier-check-icon"></span>
620 <span class="themeatelier-free themeatelier-check-icon"></span>
621 </li>
622
623 <li class="themeatelier-body">
624 <span class="themeatelier-title">
625 <?php echo esc_html__('Keyboard Shortcut Toggle', 'darkify'); ?>
626 </span>
627 <span class="themeatelier-free themeatelier-check-icon"></span>
628 <span class="themeatelier-free themeatelier-check-icon"></span>
629 </li>
630
631
632 <li class="themeatelier-body">
633 <span class="themeatelier-title">
634 <?php echo esc_html__('Floating Dark Mode Switch', 'darkify'); ?>
635 </span>
636 <span class="themeatelier-free"><b>🎨 5+ Designs</b></span>
637 <span class="themeatelier-pro"><b>🎨 16+ Designs</b></span>
638 </li>
639
640 <li class="themeatelier-body">
641 <span class="themeatelier-title">
642 <?php echo esc_html__('Draggable Swatch Position', 'darkify'); ?> <i class="themeatelier-new">New</i>
643 </span>
644 <span class="themeatelier-free themeatelier-close-icon"></span>
645 <span class="themeatelier-pro themeatelier-check-icon"></span>
646 </li>
647
648 <li class="themeatelier-body">
649 <span class="themeatelier-title">
650 <?php echo esc_html__('Customizable Toggle Switch', 'darkify'); ?>
651 </span>
652 <span class="themeatelier-free themeatelier-check-icon"></span>
653 <span class="themeatelier-pro themeatelier-check-icon"></span>
654 </li>
655
656 <li class="themeatelier-body">
657 <span class="themeatelier-title">
658 <?php echo esc_html__('Navigation Menu Toggle', 'darkify'); ?>
659 </span>
660 <span class="themeatelier-free themeatelier-check-icon"></span>
661 <span class="themeatelier-pro themeatelier-check-icon"></span>
662 </li>
663
664 <li class="themeatelier-body">
665 <span class="themeatelier-title">
666 <?php echo esc_html__('Unlimited Navigation Menu Toggle', 'darkify'); ?>
667 </span>
668 <span class="themeatelier-free themeatelier-close-icon"></span>
669 <span class="themeatelier-pro themeatelier-check-icon"></span>
670 </li>
671
672 <li class="themeatelier-body">
673 <span class="themeatelier-title">
674 <?php echo esc_html__('Shortcode for Dark Mode', 'darkify'); ?>
675 </span>
676 <span class="themeatelier-free themeatelier-check-icon"></span>
677 <span class="themeatelier-pro themeatelier-check-icon"></span>
678 </li>
679
680
681 <li class="themeatelier-body">
682 <span class="themeatelier-title">
683 <?php echo esc_html__('Predefined & Custom Colors', 'darkify'); ?>
684 </span>
685 <span class="themeatelier-free themeatelier-check-icon"></span>
686 <span class="themeatelier-pro themeatelier-check-icon"></span>
687 </li>
688
689 <li class="themeatelier-body">
690 <span class="themeatelier-title">
691 <?php echo esc_html__('Color Presets', 'darkify'); ?>
692 </span>
693
694 <span class="themeatelier-free"><b>🎨 5 Presets</b></span>
695 <span class="themeatelier-pro"><b>🎨 11 Presets</b></span>
696 </li>
697
698 <li class="themeatelier-body">
699 <span class="themeatelier-title">
700 <?php echo esc_html__('Image Brightness & Contrast', 'darkify'); ?>
701 </span>
702 <span class="themeatelier-free themeatelier-check-icon"></span>
703 <span class="themeatelier-pro themeatelier-check-icon"></span>
704 </li>
705
706 <li class="themeatelier-body">
707 <span class="themeatelier-title">
708 <?php echo esc_html__('Video Enhancement', 'darkify'); ?>
709 </span>
710 <span class="themeatelier-free themeatelier-check-icon"></span>
711 <span class="themeatelier-pro themeatelier-check-icon"></span>
712 </li>
713
714 <li class="themeatelier-body">
715 <span class="themeatelier-title">
716 <?php echo esc_html__('Page Builder Integration', 'darkify'); ?>
717 </span>
718 <span class="themeatelier-free themeatelier-check-icon"></span>
719 <span class="themeatelier-pro themeatelier-check-icon"></span>
720 </li>
721
722 <li class="themeatelier-body">
723 <span class="themeatelier-title">
724 <?php echo esc_html__('Auto-Invert Images', 'darkify'); ?> <i class="themeatelier-new">New</i>
725 </span>
726 <span class="themeatelier-free themeatelier-close-icon"></span>
727 <span class="themeatelier-pro themeatelier-check-icon"></span>
728 </li>
729
730 <li class="themeatelier-body">
731 <span class="themeatelier-title">
732 <?php echo esc_html__('Replace Images in Dark Mode', 'darkify'); ?> <i class="themeatelier-hot">Hot</i>
733 </span>
734 <span class="themeatelier-free themeatelier-close-icon"></span>
735 <span class="themeatelier-pro themeatelier-check-icon"></span>
736 </li>
737
738 <li class="themeatelier-body">
739 <span class="themeatelier-title">
740 <?php echo esc_html__('Replace Videos in Dark Mode', 'darkify'); ?> <i class="themeatelier-hot">Hot</i>
741 </span>
742 <span class="themeatelier-free themeatelier-close-icon"></span>
743 <span class="themeatelier-pro themeatelier-check-icon"></span>
744 </li>
745
746 <li class="themeatelier-body">
747 <span class="themeatelier-title">
748 <?php echo esc_html__('Element-Specific Dark Mode', 'darkify'); ?> <i class="themeatelier-new">New</i>
749 </span>
750 <span class="themeatelier-free themeatelier-close-icon"></span>
751 <span class="themeatelier-pro themeatelier-check-icon"></span>
752 </li>
753
754 <li class="themeatelier-body">
755 <span class="themeatelier-title">
756 <?php echo esc_html__('Post-Specific Dark Mode ', 'darkify'); ?> <i class="themeatelier-new">New</i>
757 </span>
758 <span class="themeatelier-free themeatelier-close-icon"></span>
759 <span class="themeatelier-pro themeatelier-check-icon"></span>
760 </li>
761
762 <li class="themeatelier-body">
763 <span class="themeatelier-title">
764 <?php echo esc_html__('Custom CSS for Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i>
765 </span>
766 <span class="themeatelier-free themeatelier-close-icon"></span>
767 <span class="themeatelier-pro themeatelier-check-icon"></span>
768 </li>
769
770 </ul>
771 </div>
772
773 <div class="themeatelier-upgrade-to-pro">
774 <h2 class="themeatelier-section-title"><?php echo esc_html__('Upgrade To PRO & Enjoy Advanced Features!', 'darkify'); ?></h2>
775 <span class="themeatelier-section-subtitle">
776 <?php
777 /* translators: %s: Number of people using Darkify. */
778 echo sprintf(esc_html__('Already, %s websites are using Darkify to add dark mode — why not yours?', 'darkify'), '<b>7000+</b>'); ?>
779 </span>
780 <div class="themeatelier-upgrade-to-pro-btn">
781 <div class="themeatelier-action-btn">
782 <a target="_blank" href="<?php echo esc_url(DARKIFY_DEMO_URL . 'pricing/?ref=1'); ?>" class="chat_btn_primary">
783 <?php echo esc_html__('Upgrade to Pro Now!', 'darkify'); ?>
784 </a>
785 <span class="themeatelier-small-paragraph">
786 <?php
787 /* translators: %s: "Refund Policy" link. */
788 echo sprintf(esc_html__('14-Day No-Questions-Asked %s', 'darkify'), '<a target="_blank" href="https://themeatelier.net/refund-policy/">' . esc_html__('Refund Policy', 'darkify') . '</a>'); ?>
789 </span>
790 </div>
791 <a target="_blank" class="chat_btn_secondary" href="<?php echo esc_url(DARKIFY_DEMO_URL . 'features'); ?>">
792 <?php echo esc_html__('See All Features', 'darkify'); ?>
793 </a>
794
795 <a target="_blank" class="chat_btn_secondary" href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>"><?php echo esc_html__('Pro Live Demo', 'darkify'); ?></a>
796 </div>
797 </div>
798
799
800 <div class="darkify_testimonial">
801 <div class="darkify_testimonial_title_section">
802 <span class="darkify_testimonial-subtitle"><?php echo esc_html('NO NEED TO TAKE OUR WORD FOR IT', 'darkify') ?></span>
803 <h2 class="themeatelier-section-title"><?php echo esc_html('Our Users Love DARKIFY PRO!', 'darkify') ?></h2>
804 </div>
805 <div class="darkify_testimonial_wrap">
806
807 <div class="darkify_testimonial_area">
808 <div class="darkify_testimonial_content">
809 <p><?php echo esc_html('Works great. Had an issue with menus not working properly, but support is great and fixed the issue very fast for us. Would recomend.', 'darkify') ?></p>
810 </div>
811 <div class="darkify_testimonial-info">
812 <div class="themeatelier-img">
813 <img src="https://secure.gravatar.com/avatar/84260633fe4e9c426e648af6113dd7a65bb498afe2653d5393552da73c15f3f6?s=200&d=retro&r=g" alt="<?php echo esc_html('Prexius', 'darkify') ?>">
814 </div>
815 <div class="themeatelier-info">
816 <h3><?php echo esc_html('Wrighttravel', 'darkify') ?></h3>
817 <div class="themeatelier-star">
818 <i>�
819
820
821
822
823 </i>
824 </div>
825 </div>
826 </div>
827 </div>
828 <div class="darkify_testimonial_area">
829 <div class="darkify_testimonial_content">
830 <p><?php echo esc_html('Darkify is easily one of the best free WordPress dark mode plugins available. I’ve tested almost every free dark mode plugin for WordPress, and this one offers the most features without needing a paid upgrade. It’s reliable, lightweight, and works seamlessly across multiple themes and websites.', 'darkify') ?></p>
831 </div>
832 <div class="darkify_testimonial-info">
833 <div class="themeatelier-img">
834 <img src="https://secure.gravatar.com/avatar/fd38799c343a70f90e6b7511f73f913640081403641cb5f091d7c047ddf725ab?s=100&d=retro&r=g" alt="<?php echo esc_html('Ivanmvian', 'darkify') ?>">
835 </div>
836 <div class="themeatelier-info">
837 <h3><?php echo esc_html('Crowandravener', 'darkify') ?></h3>
838 <div class="themeatelier-star">
839 <i>�
840
841
842
843
844 </i>
845 </div>
846 </div>
847 </div>
848 </div>
849 <div class="darkify_testimonial_area">
850 <div class="darkify_testimonial_content">
851 <p><?php echo esc_html__('This was the only plugin that solved the problem: menu button and good dark colors.', 'darkify'); ?></p>
852 </div>
853 <div class="darkify_testimonial-info">
854 <div class="themeatelier-img">
855 <img src="<?php echo esc_url('https://secure.gravatar.com/avatar/d2e3b8de64bba676b611114777e13ba517e9f78d4c82871f48cbd2e0bd819736?s=100&d=retro&r=g'); ?>"
856 alt="<?php echo esc_attr__('Albertmargeli', 'darkify'); ?>">
857 </div>
858 <div class="themeatelier-info">
859 <h3><?php echo esc_html__('Angusbreno', 'darkify'); ?></h3>
860 <div class="themeatelier-star">
861 <i>�
862
863
864
865
866 </i>
867 </div>
868 </div>
869 </div>
870 </div>
871
872 </div>
873
874 </div>
875
876 </div>
877 </section>
878
879 <!-- About Page -->
880 <section id="pro-plugins-tab" class="themeatelier__help about-page tab-content">
881 <div class="themeatelier-container">
882 <div class="themeatelier-our-plugin-list">
883 <h2 class="help_page_title"><?php echo esc_html__('Upgrade your Website with our High-quality Plugins!', 'darkify'); ?></h2>
884 <div class="themeatelier-our-plugin-list-wrap">
885
886 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>">
887 <div class="box_btn">
888 <?php echo esc_html__('View Details', 'darkify'); ?>
889 <i class="icofont-long-arrow-right"></i>
890 </div>
891 <img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/assets/img/darkify-icon.svg'); ?>" alt="<?php echo esc_attr__('Darkify dark mode plugin', 'darkify'); ?>">
892 <h4><?php echo esc_html__('Darkify - WordPress Dark Mode Plugin', 'darkify'); ?></h4>
893 <p><?php echo esc_html__('Darkify – is an extremely advanced dark mode plugin for any WordPress website. The plugin has the option to enable a dark mode switcher for the front end and also WordPress admin.', 'darkify'); ?></p>
894 </a>
895
896 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://wpchathelp.com/'); ?>">
897 <div class="box_btn">
898 <?php echo esc_html__('View Details', 'darkify'); ?>
899 <i class="icofont-long-arrow-right"></i>
900 </div>
901 <img src="<?php echo esc_url('https://ps.w.org/chat-help/assets/icon-256x256.png?rev=3270129'); ?>" alt="<?php echo esc_attr__('WhatsApp Chat Help', 'darkify'); ?>">
902 <h4><?php echo esc_html__('WhatsApp Chat Help - Chat Support Plugin For WordPress', 'darkify'); ?></h4>
903 <p><?php echo esc_html__('Whatsapp chat support is a WordPress plugin that allows website owners to easily add a WhatsApp chat button to their website.', 'darkify'); ?></p>
904 </a>
905
906 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://wpeventful.com/'); ?>">
907 <div class="box_btn">
908 <?php echo esc_html__('View Details', 'darkify'); ?>
909 <i class="icofont-long-arrow-right"></i>
910 </div>
911 <img src="<?php echo esc_url('https://ps.w.org/eventful/assets/icon-256x256.png?rev=3088585'); ?>" alt="<?php echo esc_attr__('Eventful', 'darkify'); ?>">
912 <h4><?php echo esc_html__('Event Carousel, Event Slider, Event Grid, and Event List for The Events Calendar', 'darkify'); ?></h4>
913 <p><?php echo esc_html__('With "Eventful," you can effortlessly create intelligent layouts for "The Events Calendar" plugin, effectively addressing and resolving compatibility issues that may arise.', 'darkify'); ?></p>
914 </a>
915
916 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://wpdomainforsale.com/'); ?>">
917 <div class="box_btn">
918 <?php echo esc_html__('View Details', 'darkify'); ?>
919 <i class="icofont-long-arrow-right"></i>
920 </div>
921 <img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/domain-for-sale-icon.png'); ?>" alt="<?php echo esc_attr__('Domain For Sale', 'darkify'); ?>">
922 <h4><?php echo esc_html__('Domain For Sale', 'darkify'); ?></h4>
923 <p><?php echo esc_html__('The ultimate WordPress plugin for domain sales, appraisals, auctions, and marketplace management.', 'darkify'); ?></p>
924 </a>
925
926 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://themeatelier.net/downloads/greet/'); ?>">
927 <div class="box_btn">
928 <?php echo esc_html__('View Details', 'darkify'); ?>
929 <i class="icofont-long-arrow-right"></i>
930 </div>
931 <img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/greet-logo.png'); ?>" alt="<?php echo esc_attr__('Greet - Video Bubble Plugin', 'darkify'); ?>">
932 <h4><?php echo esc_html__('Greet - Video Bubble Plugin for WordPress', 'darkify'); ?></h4>
933 <p><?php echo esc_html__('Placing a video on websites can increase the sales of your services or products in a significant way. Greet is a professional video bubble plugin for showing a welcome video on your websites in a great and fun way.', 'darkify'); ?></p>
934 </a>
935
936 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://themeatelier.net/downloads/eventful-for-elementor/'); ?>">
937 <div class="box_btn">
938 <?php echo esc_html__('View Details', 'darkify'); ?>
939 <i class="icofont-long-arrow-right"></i>
940 </div>
941 <img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/eventful-for-elementor.png'); ?>" alt="<?php echo esc_attr__('Eventful for Elementor', 'darkify'); ?>">
942 <h4><?php echo esc_html__('Eventful for Elementor - Events Showcase for The "The Events Calendar"', 'darkify'); ?></h4>
943 <p><?php echo esc_html__('Easily display events from The Events Calendar plugin with Elementor widgets, offering seamless customization and powerful layout options.', 'darkify'); ?></p>
944 </a>
945
946 </div>
947 </div>
948 </div>
949 </section>
950
951
952 <!-- Footer Section -->
953 <section class="themeatelier_footer">
954 <div class="themeatelier_footer_top">
955 <p>
956 <span><?php echo esc_html__('Made With', 'darkify'); ?> <i class="icofont-heart-alt"></i></span>
957 <?php echo esc_html__('By the Team', 'darkify'); ?>
958 <a target="_blank" href="<?php echo esc_url('https://themeatelier.net/'); ?>">
959 <?php echo esc_html__('ThemeAtelier', 'darkify'); ?>
960 </a>
961 </p>
962 <p><?php echo esc_html__('Get connected with', 'darkify'); ?></p>
963 <ul>
964 <li>
965 <a target="_blank" href="<?php echo esc_url('https://www.facebook.com/ThemeAtelier/'); ?>"><i class="icofont-facebook"></i></a>
966 </li>
967 <li>
968 <a target="_blank" href="<?php echo esc_url('https://x.com/intent/follow?screen_name=themeatelier'); ?>"><i class="icofont-twitter"></i></a>
969 </li>
970 <li>
971 <a target="_blank" href="<?php echo esc_url('https://profiles.wordpress.org/themeatelier/#content-plugins'); ?>"><i class="icofont-brand-wordpress"></i></a>
972 </li>
973 <li>
974 <a target="_blank" href="<?php echo esc_url('https://www.youtube.com/@themeatelier'); ?>"><i class="icofont-youtube-play"></i></a>
975 </li>
976 </ul>
977 </div>
978 </section>
979
980 </div>
981 <?php
982 }
983 }
984