PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.4.18
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.4.18
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.18, at src/Admin/HelpPage/Help.php

964 lines 51.9 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/H51pgFm52LY"
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
441 <div class="play_list_item active" data-video_id="H51pgFm52LY">
442 <div class="play_list_item_title">
443 <h3>Overview</h3>
444 </div>
445 <div class="play_list_item_content">
446 <div class="title">How to Use Darkify Dark Mode Free Plugin</div>
447 <span>9:00</span>
448 </div>
449 </div>
450 <div class="play_list_item" data-video_id="VbujMOaKp4o">
451 <div class="play_list_item_title">
452 <h3>Gutenberg</h3>
453 </div>
454 <div class="play_list_item_content">
455 <div class="title">How to Add Dark Mode in Gutenberg</div>
456 <span>4:39</span>
457 </div>
458 </div>
459
460 <div class="play_list_item" data-video_id="MgEiet0O1Yc">
461 <div class="play_list_item_title">
462 <h3>Astra</h3>
463 </div>
464 <div class="play_list_item_content">
465 <div class="title">How to Add Dark Mode to Astra Theme</div>
466 <span>3:50</span>
467 </div>
468 </div>
469
470 <div class="play_list_item" data-video_id="ZItBz9ljQnM">
471 <div class="play_list_item_title">
472 <h3>Blocksy</h3>
473 </div>
474 <div class="play_list_item_content">
475 <div class="title">How to Add Dark Mode in Blocksy Theme</div>
476 <span>3:21</span>
477 </div>
478 </div>
479 </div>
480 </div>
481
482 <ul class="section_buttons">
483 <li>
484 <a class="chat_btn_primary"
485 href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify'); ?>"><?php echo esc_html__('Plugin Settings', 'darkify') ?></a>
486 </li>
487 <li>
488 <a target="_blank" class="chat_btn_secondary"
489 href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>"><?php echo esc_html__('Live Demo', 'darkify') ?></a>
490 </li>
491 <li>
492 <a target="_blank" class="chat_btn_secondary arrow-btn"
493 href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>pricing/?ref=1"><?php echo esc_html__('Upgrade To Pro', 'darkify') ?>
494 </a>
495 </li>
496 </ul>
497 </div>
498 <div class="section_quick_help">
499 <div class="quick_help_wrapper">
500 <a target="_blank" href="<?php echo esc_url(DARKIFY_DOCS_URL); ?>" class="quick_help_item">
501 <div class="quick_help_item_icon"><i class="icofont-file-document"></i></div>
502 <div class="quick_help_item_content">
503 <h4 class="quick_help_item_title">
504 <?php echo esc_html__('Documentation', 'darkify') ?>
505 </h4>
506 <div class="content"><?php echo esc_html__('Explore Darkify’s features in our detailed documentation.', 'darkify') ?></div>
507 </div>
508 </a>
509 <a target="_blank" href="https://wordpress.org/support/plugin/darkify/" class="quick_help_item">
510 <div class="quick_help_item_icon"><i class="icofont-live-support"></i></div>
511 <div class="quick_help_item_content">
512 <h4 class="quick_help_item_title">
513 <?php echo esc_html__('Technical Support', 'darkify') ?>
514 </h4>
515 <div class="content"><?php echo esc_html__('For personalized assistance, contact our support team for quick help.', 'darkify') ?></div>
516 </div>
517 </a>
518 <a target="_blank" href="https://www.themeatelier.net/contact/" class="quick_help_item">
519 <div class="quick_help_item_icon"><i class="icofont-users-alt-5"></i></div>
520 <div class="quick_help_item_content">
521 <h4 class="quick_help_item_title">
522 <?php echo esc_html__('Hire Us!', 'darkify') ?>
523 </h4>
524 <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>
525 </div>
526 </a>
527 </div>
528 </div>
529 </div>
530 </section>
531
532 <!-- Recommended Page -->
533 <section id="recommended-tab" class="recommended_page tab-content">
534 <div class="themeatelier-container">
535 <h2 class="help_page_title">Enhance Your Website with Our Free & Powerful Plugins</h2>
536 <div class="themeatelier-wp-list-table plugin-install-php">
537 <div class="recommended_plugins" id="the-list">
538 <?php
539 $this->themeatelier_plugins_info_api_help_page();
540 ?>
541 </div>
542 </div>
543 </div>
544 </section>
545
546 <!-- Lite To Pro Page -->
547 <section class="themeatelier__help lite_vs_pro_page tab-content" id="lite-to-pro-tab">
548 <div class="themeatelier-container">
549 <h2 class="help_page_title">Lite vs. Pro Comparison</h2>
550
551 <div class="themeatelier-features">
552 <ul>
553 <li class="themeatelier-header">
554 <span class="themeatelier-title"><?php echo esc_html__('FEATURES', 'darkify'); ?></span>
555 <span class="themeatelier-free"><?php echo esc_html__('Lite', 'darkify'); ?></span>
556 <span class="themeatelier-pro">🚀<?php echo esc_html__('PRO', 'darkify'); ?></span>
557 </li>
558 <li class="themeatelier-body">
559 <span class="themeatelier-title"><?php echo esc_html__('All Free Version Features', 'darkify'); ?></span>
560 <span class="themeatelier-free themeatelier-check-icon"></span>
561 <span class="themeatelier-pro themeatelier-check-icon"></span>
562 </li>
563 <li class="themeatelier-body">
564 <span class="themeatelier-title">
565 <?php echo esc_html__('Instant Dark Mode', 'darkify'); ?>
566 </span>
567 <span class="themeatelier-free themeatelier-check-icon"></span>
568 <span class="themeatelier-free themeatelier-check-icon"></span>
569 </li>
570
571 <li class="themeatelier-body">
572 <span class="themeatelier-title">
573 <?php echo esc_html__('Admin Dashboard Dark Mode', 'darkify'); ?>
574 </span>
575 <span class="themeatelier-free themeatelier-check-icon"></span>
576 <span class="themeatelier-free themeatelier-check-icon"></span>
577 </li>
578
579 <li class="themeatelier-body">
580 <span class="themeatelier-title">
581 <?php echo esc_html__('Default Dark Theme', 'darkify'); ?>
582 </span>
583 <span class="themeatelier-free themeatelier-check-icon"></span>
584 <span class="themeatelier-free themeatelier-check-icon"></span>
585 </li>
586
587 <li class="themeatelier-body">
588 <span class="themeatelier-title">
589 <?php echo esc_html__('Auto Dark Mode (OS-Based)', 'darkify'); ?>
590 </span>
591 <span class="themeatelier-free themeatelier-check-icon"></span>
592 <span class="themeatelier-free themeatelier-check-icon"></span>
593 </li>
594
595 <li class="themeatelier-body">
596 <span class="themeatelier-title">
597 <?php echo esc_html__('Scheduled Dark Mode ⏰', 'darkify'); ?>
598 </span>
599 <span class="themeatelier-free themeatelier-check-icon"></span>
600 <span class="themeatelier-free themeatelier-check-icon"></span>
601 </li>
602
603 <li class="themeatelier-body">
604 <span class="themeatelier-title">
605 <?php echo esc_html__('Keyboard Shortcut Toggle', 'darkify'); ?>
606 </span>
607 <span class="themeatelier-free themeatelier-check-icon"></span>
608 <span class="themeatelier-free themeatelier-check-icon"></span>
609 </li>
610
611
612 <li class="themeatelier-body">
613 <span class="themeatelier-title">
614 <?php echo esc_html__('Floating Dark Mode Switch', 'darkify'); ?>
615 </span>
616 <span class="themeatelier-free"><b>🎨 5+ Designs</b></span>
617 <span class="themeatelier-pro"><b>🎨 16+ Designs</b></span>
618 </li>
619
620 <li class="themeatelier-body">
621 <span class="themeatelier-title">
622 <?php echo esc_html__('Draggable Swatch Position', 'darkify'); ?> <i class="themeatelier-new">New</i>
623 </span>
624 <span class="themeatelier-free themeatelier-close-icon"></span>
625 <span class="themeatelier-pro themeatelier-check-icon"></span>
626 </li>
627
628 <li class="themeatelier-body">
629 <span class="themeatelier-title">
630 <?php echo esc_html__('Customizable Toggle Switch', 'darkify'); ?>
631 </span>
632 <span class="themeatelier-free themeatelier-check-icon"></span>
633 <span class="themeatelier-pro themeatelier-check-icon"></span>
634 </li>
635
636 <li class="themeatelier-body">
637 <span class="themeatelier-title">
638 <?php echo esc_html__('Navigation Menu Toggle', 'darkify'); ?>
639 </span>
640 <span class="themeatelier-free themeatelier-check-icon"></span>
641 <span class="themeatelier-pro themeatelier-check-icon"></span>
642 </li>
643
644 <li class="themeatelier-body">
645 <span class="themeatelier-title">
646 <?php echo esc_html__('Unlimited Navigation Menu Toggle', 'darkify'); ?>
647 </span>
648 <span class="themeatelier-free themeatelier-close-icon"></span>
649 <span class="themeatelier-pro themeatelier-check-icon"></span>
650 </li>
651
652 <li class="themeatelier-body">
653 <span class="themeatelier-title">
654 <?php echo esc_html__('Shortcode for Dark Mode', 'darkify'); ?>
655 </span>
656 <span class="themeatelier-free themeatelier-check-icon"></span>
657 <span class="themeatelier-pro themeatelier-check-icon"></span>
658 </li>
659
660
661 <li class="themeatelier-body">
662 <span class="themeatelier-title">
663 <?php echo esc_html__('Predefined & Custom Colors', 'darkify'); ?>
664 </span>
665 <span class="themeatelier-free themeatelier-check-icon"></span>
666 <span class="themeatelier-pro themeatelier-check-icon"></span>
667 </li>
668
669 <li class="themeatelier-body">
670 <span class="themeatelier-title">
671 <?php echo esc_html__('Color Presets', 'darkify'); ?>
672 </span>
673
674 <span class="themeatelier-free"><b>🎨 5 Presets</b></span>
675 <span class="themeatelier-pro"><b>🎨 11 Presets</b></span>
676 </li>
677
678 <li class="themeatelier-body">
679 <span class="themeatelier-title">
680 <?php echo esc_html__('Image Brightness & Contrast', 'darkify'); ?>
681 </span>
682 <span class="themeatelier-free themeatelier-check-icon"></span>
683 <span class="themeatelier-pro themeatelier-check-icon"></span>
684 </li>
685
686 <li class="themeatelier-body">
687 <span class="themeatelier-title">
688 <?php echo esc_html__('Video Enhancement', 'darkify'); ?>
689 </span>
690 <span class="themeatelier-free themeatelier-check-icon"></span>
691 <span class="themeatelier-pro themeatelier-check-icon"></span>
692 </li>
693
694 <li class="themeatelier-body">
695 <span class="themeatelier-title">
696 <?php echo esc_html__('Page Builder Integration', 'darkify'); ?>
697 </span>
698 <span class="themeatelier-free themeatelier-check-icon"></span>
699 <span class="themeatelier-pro themeatelier-check-icon"></span>
700 </li>
701
702 <li class="themeatelier-body">
703 <span class="themeatelier-title">
704 <?php echo esc_html__('Auto-Invert Images', 'darkify'); ?> <i class="themeatelier-new">New</i>
705 </span>
706 <span class="themeatelier-free themeatelier-close-icon"></span>
707 <span class="themeatelier-pro themeatelier-check-icon"></span>
708 </li>
709
710 <li class="themeatelier-body">
711 <span class="themeatelier-title">
712 <?php echo esc_html__('Replace Images in Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i>
713 </span>
714 <span class="themeatelier-free themeatelier-close-icon"></span>
715 <span class="themeatelier-pro themeatelier-check-icon"></span>
716 </li>
717
718 <li class="themeatelier-body">
719 <span class="themeatelier-title">
720 <?php echo esc_html__('Replace Videos in Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i>
721 </span>
722 <span class="themeatelier-free themeatelier-close-icon"></span>
723 <span class="themeatelier-pro themeatelier-check-icon"></span>
724 </li>
725
726 <li class="themeatelier-body">
727 <span class="themeatelier-title">
728 <?php echo esc_html__('Element-Specific Dark Mode ', 'darkify'); ?> <i class="themeatelier-new">New</i>
729 </span>
730 <span class="themeatelier-free themeatelier-close-icon"></span>
731 <span class="themeatelier-pro themeatelier-check-icon"></span>
732 </li>
733
734 <li class="themeatelier-body">
735 <span class="themeatelier-title">
736 <?php echo esc_html__('Post-Specific Dark Mode ', 'darkify'); ?> <i class="themeatelier-new">New</i>
737 </span>
738 <span class="themeatelier-free themeatelier-close-icon"></span>
739 <span class="themeatelier-pro themeatelier-check-icon"></span>
740 </li>
741
742 <li class="themeatelier-body">
743 <span class="themeatelier-title">
744 <?php echo esc_html__('Custom CSS for Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i>
745 </span>
746 <span class="themeatelier-free themeatelier-close-icon"></span>
747 <span class="themeatelier-pro themeatelier-check-icon"></span>
748 </li>
749
750 </ul>
751 </div>
752
753 <div class="themeatelier-upgrade-to-pro">
754 <h2 class="themeatelier-section-title"><?php echo esc_html__('Upgrade To PRO & Enjoy Advanced Features!', 'darkify'); ?></h2>
755 <span class="themeatelier-section-subtitle">
756 <?php
757 /* translators: %s: Number of people using Darkify. */
758 echo sprintf(esc_html__('Already, %s websites are using Darkify to add dark mode — why not yours?', 'darkify'), '<b>7000+</b>'); ?>
759 </span>
760 <div class="themeatelier-upgrade-to-pro-btn">
761 <div class="themeatelier-action-btn">
762 <a target="_blank" href="<?php echo esc_url(DARKIFY_DEMO_URL . 'pricing/?ref=1'); ?>" class="chat_btn_primary">
763 <?php echo esc_html__('Upgrade to Pro Now!', 'darkify'); ?>
764 </a>
765 <span class="themeatelier-small-paragraph">
766 <?php
767 /* translators: %s: "Refund Policy" link. */
768 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>'); ?>
769 </span>
770 </div>
771 <a target="_blank" class="chat_btn_secondary" href="<?php echo esc_url(DARKIFY_DEMO_URL . 'features'); ?>">
772 <?php echo esc_html__('See All Features', 'darkify'); ?>
773 </a>
774
775 <a target="_blank" class="chat_btn_secondary" href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>"><?php echo esc_html__('Pro Live Demo', 'darkify'); ?></a>
776 </div>
777 </div>
778
779
780 <div class="darkify_testimonial">
781 <div class="darkify_testimonial_title_section">
782 <span class="darkify_testimonial-subtitle"><?php echo esc_html('NO NEED TO TAKE OUR WORD FOR IT', 'darkify') ?></span>
783 <h2 class="themeatelier-section-title"><?php echo esc_html('Our Users Love DARKIFY PRO!', 'darkify') ?></h2>
784 </div>
785 <div class="darkify_testimonial_wrap">
786
787 <div class="darkify_testimonial_area">
788 <div class="darkify_testimonial_content">
789 <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>
790 </div>
791 <div class="darkify_testimonial-info">
792 <div class="themeatelier-img">
793 <img src="https://secure.gravatar.com/avatar/84260633fe4e9c426e648af6113dd7a65bb498afe2653d5393552da73c15f3f6?s=200&d=retro&r=g" alt="<?php echo esc_html('Prexius', 'darkify') ?>">
794 </div>
795 <div class="themeatelier-info">
796 <h3><?php echo esc_html('Wrighttravel', 'darkify') ?></h3>
797 <div class="themeatelier-star">
798 <i>�
799
800
801
802
803 </i>
804 </div>
805 </div>
806 </div>
807 </div>
808 <div class="darkify_testimonial_area">
809 <div class="darkify_testimonial_content">
810 <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>
811 </div>
812 <div class="darkify_testimonial-info">
813 <div class="themeatelier-img">
814 <img src="https://secure.gravatar.com/avatar/fd38799c343a70f90e6b7511f73f913640081403641cb5f091d7c047ddf725ab?s=100&d=retro&r=g" alt="<?php echo esc_html('Ivanmvian', 'darkify') ?>">
815 </div>
816 <div class="themeatelier-info">
817 <h3><?php echo esc_html('Crowandravener', 'darkify') ?></h3>
818 <div class="themeatelier-star">
819 <i>�
820
821
822
823
824 </i>
825 </div>
826 </div>
827 </div>
828 </div>
829 <div class="darkify_testimonial_area">
830 <div class="darkify_testimonial_content">
831 <p><?php echo esc_html__('This was the only plugin that solved the problem: menu button and good dark colors.', 'darkify'); ?></p>
832 </div>
833 <div class="darkify_testimonial-info">
834 <div class="themeatelier-img">
835 <img src="<?php echo esc_url('https://secure.gravatar.com/avatar/d2e3b8de64bba676b611114777e13ba517e9f78d4c82871f48cbd2e0bd819736?s=100&d=retro&r=g'); ?>"
836 alt="<?php echo esc_attr__('Albertmargeli', 'darkify'); ?>">
837 </div>
838 <div class="themeatelier-info">
839 <h3><?php echo esc_html__('Angusbreno', 'darkify'); ?></h3>
840 <div class="themeatelier-star">
841 <i>�
842
843
844
845
846 </i>
847 </div>
848 </div>
849 </div>
850 </div>
851
852 </div>
853
854 </div>
855
856 </div>
857 </section>
858
859 <!-- About Page -->
860 <section id="pro-plugins-tab" class="themeatelier__help about-page tab-content">
861 <div class="themeatelier-container">
862 <div class="themeatelier-our-plugin-list">
863 <h2 class="help_page_title"><?php echo esc_html__('Upgrade your Website with our High-quality Plugins!', 'darkify'); ?></h2>
864 <div class="themeatelier-our-plugin-list-wrap">
865
866 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url(DARKIFY_DEMO_URL); ?>">
867 <div class="box_btn">
868 <?php echo esc_html__('View Details', 'darkify'); ?>
869 <i class="icofont-long-arrow-right"></i>
870 </div>
871 <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'); ?>">
872 <h4><?php echo esc_html__('Darkify - WordPress Dark Mode Plugin', 'darkify'); ?></h4>
873 <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>
874 </a>
875
876 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://wpchathelp.com/'); ?>">
877 <div class="box_btn">
878 <?php echo esc_html__('View Details', 'darkify'); ?>
879 <i class="icofont-long-arrow-right"></i>
880 </div>
881 <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'); ?>">
882 <h4><?php echo esc_html__('WhatsApp Chat Help - Chat Support Plugin For WordPress', 'darkify'); ?></h4>
883 <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>
884 </a>
885
886 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://wpeventful.com/'); ?>">
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('https://ps.w.org/eventful/assets/icon-256x256.png?rev=3088585'); ?>" alt="<?php echo esc_attr__('Eventful', 'darkify'); ?>">
892 <h4><?php echo esc_html__('Event Carousel, Event Slider, Event Grid, and Event List for The Events Calendar', 'darkify'); ?></h4>
893 <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>
894 </a>
895
896 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://wpdomainforsale.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(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/domain-for-sale-icon.png'); ?>" alt="<?php echo esc_attr__('Domain For Sale', 'darkify'); ?>">
902 <h4><?php echo esc_html__('Domain For Sale', 'darkify'); ?></h4>
903 <p><?php echo esc_html__('The ultimate WordPress plugin for domain sales, appraisals, auctions, and marketplace management.', 'darkify'); ?></p>
904 </a>
905
906 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://themeatelier.net/downloads/greet/'); ?>">
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(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/greet-logo.png'); ?>" alt="<?php echo esc_attr__('Greet - Video Bubble Plugin', 'darkify'); ?>">
912 <h4><?php echo esc_html__('Greet - Video Bubble Plugin for WordPress', 'darkify'); ?></h4>
913 <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>
914 </a>
915
916 <a target="_blank" class="themeatelier-our-plugin-list-box" href="<?php echo esc_url('https://themeatelier.net/downloads/eventful-for-elementor/'); ?>">
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/eventful-for-elementor.png'); ?>" alt="<?php echo esc_attr__('Eventful for Elementor', 'darkify'); ?>">
922 <h4><?php echo esc_html__('Eventful for Elementor - Events Showcase for The "The Events Calendar"', 'darkify'); ?></h4>
923 <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>
924 </a>
925
926 </div>
927 </div>
928 </div>
929 </section>
930
931
932 <!-- Footer Section -->
933 <section class="themeatelier_footer">
934 <div class="themeatelier_footer_top">
935 <p>
936 <span><?php echo esc_html__('Made With', 'darkify'); ?> <i class="icofont-heart-alt"></i></span>
937 <?php echo esc_html__('By the Team', 'darkify'); ?>
938 <a target="_blank" href="<?php echo esc_url('https://themeatelier.net/'); ?>">
939 <?php echo esc_html__('ThemeAtelier', 'darkify'); ?>
940 </a>
941 </p>
942 <p><?php echo esc_html__('Get connected with', 'darkify'); ?></p>
943 <ul>
944 <li>
945 <a target="_blank" href="<?php echo esc_url('https://www.facebook.com/ThemeAtelier/'); ?>"><i class="icofont-facebook"></i></a>
946 </li>
947 <li>
948 <a target="_blank" href="<?php echo esc_url('https://x.com/intent/follow?screen_name=themeatelier'); ?>"><i class="icofont-twitter"></i></a>
949 </li>
950 <li>
951 <a target="_blank" href="<?php echo esc_url('https://profiles.wordpress.org/themeatelier/#content-plugins'); ?>"><i class="icofont-brand-wordpress"></i></a>
952 </li>
953 <li>
954 <a target="_blank" href="<?php echo esc_url('https://www.youtube.com/@themeatelier'); ?>"><i class="icofont-youtube-play"></i></a>
955 </li>
956 </ul>
957 </div>
958 </section>
959
960 </div>
961 <?php
962 }
963 }
964