| 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 |
'darkify' => 'darkify.php', |
| 30 |
'domain-for-sale' => 'domain-for-sale.php', |
| 31 |
'ask-faq' => 'ask-faq.php', |
| 32 |
'attentive-security' => 'attentive-security.php', |
| 33 |
'better-chat-support' => 'messenger-chat-support.php', |
| 34 |
'bizreview' => 'bizreview.php', |
| 35 |
'booklet-booking-system' => 'booklet.php', |
| 36 |
'skype-chat' => 'skype-chat.php', |
| 37 |
'chat-help' => 'chat-whatsapp.php', |
| 38 |
'chat-telegram' => 'telegram-chat.php', |
| 39 |
'chat-viber' => 'chat-viber-lite.php', |
| 40 |
'click-to-dial' => 'click-to-dial.php', |
| 41 |
'click-to-mail' => 'click-to-mail.php', |
| 42 |
'eventful' => 'eventful.php', |
| 43 |
'eventful-for-elementor' => 'eventful-for-elementor.php', |
| 44 |
'postify' => 'postify.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 |
'better-chat-support', |
| 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&plugin=' . $plugin['slug'] . '&TB_iframe=true&width=600&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="https://darkifywp.com/pricing/?ref=1"><?php echo esc_html__('🚀 Upgrading To Pro!', 'darkify') ?></a> |
| 406 |
</div> |
| 407 |
</div> |
| 408 |
</div> |
| 409 |
</div> |
| 410 |
</section> |
| 411 |
<!--header section end --> |
| 412 |
|
| 413 |
<!-- Start Page --> |
| 414 |
<section class="start_page tab-content active" id="get-start-tab"> |
| 415 |
<div class="themeatelier-container"> |
| 416 |
<div class="start_page_wrapper"> |
| 417 |
<div class="start_page_nav"> |
| 418 |
<div class="nav_left"> |
| 419 |
<h2 class="section_title"><?php echo esc_html('Welcome to Darkify!', 'darkify') ?><span class="version__badge"><?php echo esc_html(DARKIFY_VERSION) ?></span></h2> |
| 420 |
<span class="section_subtitle"> |
| 421 |
<?php echo esc_html__('Thank you for installing Darkify! This playlist will help you get started with the |
| 422 |
plugin. Enjoy!', 'darkify') ?> |
| 423 |
</span> |
| 424 |
</div> |
| 425 |
<div class="nev_right"> |
| 426 |
<i class="icofont-youtube-play"></i> |
| 427 |
<a target="_blank" href="https://www.youtube.com/@themeatelier">Themeatelier</a> |
| 428 |
</div> |
| 429 |
</div> |
| 430 |
<div class="section_video"> |
| 431 |
<div class="video"> |
| 432 |
<iframe width="724" height="405" src="https://www.youtube.com/embed/H51pgFm52LY" |
| 433 |
title="Darkify - Overview" frameborder="0" |
| 434 |
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" |
| 435 |
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> |
| 436 |
</div> |
| 437 |
<div class="section_video_play_list"> |
| 438 |
|
| 439 |
|
| 440 |
<div class="play_list_item active" data-video_id="H51pgFm52LY"> |
| 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>9:00</span> |
| 447 |
</div> |
| 448 |
</div> |
| 449 |
<div class="play_list_item" data-video_id="VbujMOaKp4o"> |
| 450 |
<div class="play_list_item_title"> |
| 451 |
<h3>Gutenberg</h3> |
| 452 |
</div> |
| 453 |
<div class="play_list_item_content"> |
| 454 |
<div class="title">How to Add Dark Mode in Gutenberg</div> |
| 455 |
<span>4:39</span> |
| 456 |
</div> |
| 457 |
</div> |
| 458 |
|
| 459 |
<div class="play_list_item" data-video_id="MgEiet0O1Yc"> |
| 460 |
<div class="play_list_item_title"> |
| 461 |
<h3>Astra</h3> |
| 462 |
</div> |
| 463 |
<div class="play_list_item_content"> |
| 464 |
<div class="title">How to Add Dark Mode to Astra Theme</div> |
| 465 |
<span>3:50</span> |
| 466 |
</div> |
| 467 |
</div> |
| 468 |
|
| 469 |
<div class="play_list_item" data-video_id="ZItBz9ljQnM"> |
| 470 |
<div class="play_list_item_title"> |
| 471 |
<h3>Blocksy</h3> |
| 472 |
</div> |
| 473 |
<div class="play_list_item_content"> |
| 474 |
<div class="title">How to Add Dark Mode in Blocksy Theme</div> |
| 475 |
<span>3:21</span> |
| 476 |
</div> |
| 477 |
</div> |
| 478 |
|
| 479 |
</div> |
| 480 |
</div> |
| 481 |
|
| 482 |
|
| 483 |
<ul class="section_buttons"> |
| 484 |
<li> |
| 485 |
<a class="chat_btn_primary" |
| 486 |
href="<?php echo esc_url(home_url('') . '/wp-admin/admin.php?page=darkify'); ?>"><?php echo esc_html__('Plugin Settings', 'darkify') ?></a> |
| 487 |
</li> |
| 488 |
<li> |
| 489 |
<a target="_blank" class="chat_btn_secondary" |
| 490 |
href="https://darkifywp.com/"><?php echo esc_html__('Live Demo', 'darkify') ?></a> |
| 491 |
</li> |
| 492 |
<li> |
| 493 |
<a target="_blank" class="chat_btn_secondary arrow-btn" |
| 494 |
href="https://darkifywp.com/pricing/?ref=1"><?php echo esc_html__('Upgrade To Pro', 'darkify') ?> |
| 495 |
</a> |
| 496 |
</li> |
| 497 |
</ul> |
| 498 |
</div> |
| 499 |
<div class="section_quick_help"> |
| 500 |
<div class="quick_help_wrapper"> |
| 501 |
<a target="_blank" href="https://docs.themeatelier.net/docs/darkify-pro/overview" class="quick_help_item"> |
| 502 |
<div class="quick_help_item_icon"><i class="icofont-file-document"></i></div> |
| 503 |
<div class="quick_help_item_content"> |
| 504 |
<h4 class="quick_help_item_title"> |
| 505 |
<?php echo esc_html__('Documentation', 'darkify') ?> |
| 506 |
</h4> |
| 507 |
<div class="content"><?php echo esc_html__('Explore Darkify plugin capabilities in our enriched documentation.', 'darkify') ?></div> |
| 508 |
</div> |
| 509 |
</a> |
| 510 |
<a target="_blank" href="https://wordpress.org/support/plugin/darkify/" class="quick_help_item"> |
| 511 |
<div class="quick_help_item_icon"><i class="icofont-live-support"></i></div> |
| 512 |
<div class="quick_help_item_content"> |
| 513 |
<h4 class="quick_help_item_title"> |
| 514 |
<?php echo esc_html__('Technical Support', 'darkify') ?> |
| 515 |
</h4> |
| 516 |
<div class="content"><?php echo esc_html__('For personalized assistance, reach out to our skilled support team for prompt help.', 'darkify') ?></div> |
| 517 |
</div> |
| 518 |
</a> |
| 519 |
<a target="_blank" href="https://www.themeatelier.net/contact/" class="quick_help_item"> |
| 520 |
<div class="quick_help_item_icon"><i class="icofont-users-alt-5"></i></div> |
| 521 |
<div class="quick_help_item_content"> |
| 522 |
<h4 class="quick_help_item_title"> |
| 523 |
<?php echo esc_html__('Hire Us!', 'darkify') ?> |
| 524 |
</h4> |
| 525 |
<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> |
| 526 |
</div> |
| 527 |
</a> |
| 528 |
</div> |
| 529 |
</div> |
| 530 |
</div> |
| 531 |
</section> |
| 532 |
|
| 533 |
<!-- Recommended Page --> |
| 534 |
<section id="recommended-tab" class="recommended_page tab-content"> |
| 535 |
<div class="themeatelier-container"> |
| 536 |
<h2 class="help_page_title">Enhance your Website with our Free Robust Plugins</h2> |
| 537 |
<div class="themeatelier-wp-list-table plugin-install-php"> |
| 538 |
<div class="recommended_plugins" id="the-list"> |
| 539 |
<?php |
| 540 |
$this->themeatelier_plugins_info_api_help_page(); |
| 541 |
?> |
| 542 |
</div> |
| 543 |
</div> |
| 544 |
</div> |
| 545 |
</section> |
| 546 |
|
| 547 |
<!-- Lite To Pro Page --> |
| 548 |
<section class="themeatelier__help lite_vs_pro_page tab-content" id="lite-to-pro-tab"> |
| 549 |
<div class="themeatelier-container"> |
| 550 |
<h2 class="help_page_title">Lite Vs Pro Comparison</h2> |
| 551 |
|
| 552 |
<div class="themeatelier-features"> |
| 553 |
<ul> |
| 554 |
<li class="themeatelier-header"> |
| 555 |
<span class="themeatelier-title"><?php echo esc_html__('FEATURES', 'darkify'); ?></span> |
| 556 |
<span class="themeatelier-free"><?php echo esc_html__('Lite', 'darkify'); ?></span> |
| 557 |
<span class="themeatelier-pro">🚀<?php echo esc_html__('PRO', 'darkify'); ?></span> |
| 558 |
</li> |
| 559 |
<li class="themeatelier-body"> |
| 560 |
<span class="themeatelier-title"><?php echo esc_html__('All Free Version Features', 'darkify'); ?></span> |
| 561 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 562 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 563 |
</li> |
| 564 |
<li class="themeatelier-body"> |
| 565 |
<span class="themeatelier-title"> |
| 566 |
<?php echo esc_html__('Instant Dark Mode', 'darkify'); ?> |
| 567 |
</span> |
| 568 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 569 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 570 |
</li> |
| 571 |
|
| 572 |
<li class="themeatelier-body"> |
| 573 |
<span class="themeatelier-title"> |
| 574 |
<?php echo esc_html__('Admin Dashboard Dark Mode', 'darkify'); ?> |
| 575 |
</span> |
| 576 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 577 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 578 |
</li> |
| 579 |
|
| 580 |
<li class="themeatelier-body"> |
| 581 |
<span class="themeatelier-title"> |
| 582 |
<?php echo esc_html__('Default Dark Theme', 'darkify'); ?> |
| 583 |
</span> |
| 584 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 585 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 586 |
</li> |
| 587 |
|
| 588 |
<li class="themeatelier-body"> |
| 589 |
<span class="themeatelier-title"> |
| 590 |
<?php echo esc_html__('Auto Dark Mode (OS-Based)', 'darkify'); ?> |
| 591 |
</span> |
| 592 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 593 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 594 |
</li> |
| 595 |
|
| 596 |
<li class="themeatelier-body"> |
| 597 |
<span class="themeatelier-title"> |
| 598 |
<?php echo esc_html__('Scheduled Dark Mode ⏰', 'darkify'); ?> |
| 599 |
</span> |
| 600 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 601 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 602 |
</li> |
| 603 |
|
| 604 |
<li class="themeatelier-body"> |
| 605 |
<span class="themeatelier-title"> |
| 606 |
<?php echo esc_html__('Keyboard Shortcut Toggle', 'darkify'); ?> |
| 607 |
</span> |
| 608 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 609 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 610 |
</li> |
| 611 |
|
| 612 |
|
| 613 |
<li class="themeatelier-body"> |
| 614 |
<span class="themeatelier-title"> |
| 615 |
<?php echo esc_html__('Floating Dark Mode Switch', 'darkify'); ?> |
| 616 |
</span> |
| 617 |
<span class="themeatelier-free"><b>🎨 4+ Designs</b></span> |
| 618 |
<span class="themeatelier-pro"><b>🎨 12+ Designs</b></span> |
| 619 |
</li> |
| 620 |
|
| 621 |
<li class="themeatelier-body"> |
| 622 |
<span class="themeatelier-title"> |
| 623 |
<?php echo esc_html__('Draggable Swatch Position', 'darkify'); ?> <i class="themeatelier-new">New</i> |
| 624 |
</span> |
| 625 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 626 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 627 |
</li> |
| 628 |
|
| 629 |
<li class="themeatelier-body"> |
| 630 |
<span class="themeatelier-title"> |
| 631 |
<?php echo esc_html__('Customizable Toggle Switch', 'darkify'); ?> |
| 632 |
</span> |
| 633 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 634 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 635 |
</li> |
| 636 |
|
| 637 |
<li class="themeatelier-body"> |
| 638 |
<span class="themeatelier-title"> |
| 639 |
<?php echo esc_html__('Navigation Menu Toggle', 'darkify'); ?> |
| 640 |
</span> |
| 641 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 642 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 643 |
</li> |
| 644 |
|
| 645 |
<li class="themeatelier-body"> |
| 646 |
<span class="themeatelier-title"> |
| 647 |
<?php echo esc_html__('Shortcode for Dark Mode', 'darkify'); ?> |
| 648 |
</span> |
| 649 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 650 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 651 |
</li> |
| 652 |
|
| 653 |
|
| 654 |
<li class="themeatelier-body"> |
| 655 |
<span class="themeatelier-title"> |
| 656 |
<?php echo esc_html__('Predefined & Custom Colors', 'darkify'); ?> |
| 657 |
</span> |
| 658 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 659 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 660 |
</li> |
| 661 |
|
| 662 |
<li class="themeatelier-body"> |
| 663 |
<span class="themeatelier-title"> |
| 664 |
<?php echo esc_html__('Color Presets', 'darkify'); ?> |
| 665 |
</span> |
| 666 |
|
| 667 |
<span class="themeatelier-free"><b>🎨 5 Presets</b></span> |
| 668 |
<span class="themeatelier-pro"><b>🎨 11 Presets</b></span> |
| 669 |
</li> |
| 670 |
|
| 671 |
<li class="themeatelier-body"> |
| 672 |
<span class="themeatelier-title"> |
| 673 |
<?php echo esc_html__('Image Brightness & Contrast', 'darkify'); ?> |
| 674 |
</span> |
| 675 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 676 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 677 |
</li> |
| 678 |
|
| 679 |
<li class="themeatelier-body"> |
| 680 |
<span class="themeatelier-title"> |
| 681 |
<?php echo esc_html__('Video Enhancement', 'darkify'); ?> |
| 682 |
</span> |
| 683 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 684 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 685 |
</li> |
| 686 |
|
| 687 |
<li class="themeatelier-body"> |
| 688 |
<span class="themeatelier-title"> |
| 689 |
<?php echo esc_html__('Page Builder Integration', 'darkify'); ?> |
| 690 |
</span> |
| 691 |
<span class="themeatelier-free themeatelier-check-icon"></span> |
| 692 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 693 |
</li> |
| 694 |
|
| 695 |
<li class="themeatelier-body"> |
| 696 |
<span class="themeatelier-title"> |
| 697 |
<?php echo esc_html__('Auto-Invert Images', 'darkify'); ?> <i class="themeatelier-new">New</i> |
| 698 |
</span> |
| 699 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 700 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 701 |
</li> |
| 702 |
|
| 703 |
<li class="themeatelier-body"> |
| 704 |
<span class="themeatelier-title"> |
| 705 |
<?php echo esc_html__('Replace Images in Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i> |
| 706 |
</span> |
| 707 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 708 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 709 |
</li> |
| 710 |
|
| 711 |
<li class="themeatelier-body"> |
| 712 |
<span class="themeatelier-title"> |
| 713 |
<?php echo esc_html__('Replace Videos in Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i> |
| 714 |
</span> |
| 715 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 716 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 717 |
</li> |
| 718 |
|
| 719 |
<li class="themeatelier-body"> |
| 720 |
<span class="themeatelier-title"> |
| 721 |
<?php echo esc_html__('Element-Specific Dark Mode ', 'darkify'); ?> <i class="themeatelier-new">New</i> |
| 722 |
</span> |
| 723 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 724 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 725 |
</li> |
| 726 |
|
| 727 |
<li class="themeatelier-body"> |
| 728 |
<span class="themeatelier-title"> |
| 729 |
<?php echo esc_html__('Post-Specific Dark Mode ', 'darkify'); ?> <i class="themeatelier-new">New</i> |
| 730 |
</span> |
| 731 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 732 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 733 |
</li> |
| 734 |
|
| 735 |
<li class="themeatelier-body"> |
| 736 |
<span class="themeatelier-title"> |
| 737 |
<?php echo esc_html__('Custom CSS for Dark Mode ', 'darkify'); ?> <i class="themeatelier-hot">Hot</i> |
| 738 |
</span> |
| 739 |
<span class="themeatelier-free themeatelier-close-icon"></span> |
| 740 |
<span class="themeatelier-pro themeatelier-check-icon"></span> |
| 741 |
</li> |
| 742 |
|
| 743 |
</ul> |
| 744 |
</div> |
| 745 |
|
| 746 |
<div class="themeatelier-upgrade-to-pro"> |
| 747 |
<h2 class="themeatelier-section-title"><?php echo esc_html__('Upgrade To PRO & Enjoy Advanced Features!', 'darkify'); ?></h2> |
| 748 |
<span class="themeatelier-section-subtitle"> |
| 749 |
<?php echo sprintf(esc_html__('Already, %s people are using Darkify on their websites to create beautiful showcases, why won’t you!', 'darkify'), '<b>6000+</b>'); ?> |
| 750 |
</span> |
| 751 |
<div class="themeatelier-upgrade-to-pro-btn"> |
| 752 |
<div class="themeatelier-action-btn"> |
| 753 |
<a target="_blank" href="https://darkifywp.com/pricing/?ref=1" class="chat_btn_primary"> |
| 754 |
<?php echo esc_html__('Upgrade to Pro Now!', 'darkify'); ?> |
| 755 |
</a> |
| 756 |
<span class="themeatelier-small-paragraph"> |
| 757 |
<?php 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>'); ?> |
| 758 |
</span> |
| 759 |
</div> |
| 760 |
<a target="_blank" class="chat_btn_secondary" href="https://darkifywp.com/#features"><?php echo esc_html__('See All Features', 'darkify'); ?></a> |
| 761 |
<a target="_blank" class="chat_btn_secondary" href="https://darkifywp.com/"><?php echo esc_html__('Pro Live Demo', 'darkify'); ?></a> |
| 762 |
</div> |
| 763 |
</div> |
| 764 |
|
| 765 |
|
| 766 |
<div class="darkify_testimonial"> |
| 767 |
<div class="darkify_testimonial_title_section"> |
| 768 |
<span class="darkify_testimonial-subtitle">NO NEED TO TAKE OUR WORD FOR IT</span> |
| 769 |
<h2 class="themeatelier-section-title">Our Users Love DARKIFY PRO!</h2> |
| 770 |
</div> |
| 771 |
<div class="darkify_testimonial_wrap"> |
| 772 |
|
| 773 |
<div class="darkify_testimonial_area"> |
| 774 |
<div class="darkify_testimonial_content"> |
| 775 |
<p>Works great. Had an issue with menus not working properly, but support is great and fixed the issue very fast for us. Would recomend.</p> |
| 776 |
</div> |
| 777 |
<div class="darkify_testimonial-info"> |
| 778 |
<div class="themeatelier-img"> |
| 779 |
<img src="https://secure.gravatar.com/avatar/84260633fe4e9c426e648af6113dd7a65bb498afe2653d5393552da73c15f3f6?s=200&d=retro&r=g" alt="Prexius"> |
| 780 |
</div> |
| 781 |
<div class="themeatelier-info"> |
| 782 |
<h3>Wrighttravel</h3> |
| 783 |
<div class="themeatelier-star"> |
| 784 |
<i>� |
| 785 |
� |
| 786 |
� |
| 787 |
� |
| 788 |
� |
| 789 |
</i> |
| 790 |
</div> |
| 791 |
</div> |
| 792 |
</div> |
| 793 |
</div> |
| 794 |
<div class="darkify_testimonial_area"> |
| 795 |
<div class="darkify_testimonial_content"> |
| 796 |
<p>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.</p> |
| 797 |
</div> |
| 798 |
<div class="darkify_testimonial-info"> |
| 799 |
<div class="themeatelier-img"> |
| 800 |
<img src="https://secure.gravatar.com/avatar/fd38799c343a70f90e6b7511f73f913640081403641cb5f091d7c047ddf725ab?s=100&d=retro&r=g" alt="Ivanmvian"> |
| 801 |
</div> |
| 802 |
<div class="themeatelier-info"> |
| 803 |
<h3>Crowandravener</h3> |
| 804 |
<div class="themeatelier-star"> |
| 805 |
<i>� |
| 806 |
� |
| 807 |
� |
| 808 |
� |
| 809 |
� |
| 810 |
</i> |
| 811 |
</div> |
| 812 |
</div> |
| 813 |
</div> |
| 814 |
</div> |
| 815 |
<div class="darkify_testimonial_area"> |
| 816 |
<div class="darkify_testimonial_content"> |
| 817 |
<p>This was the only plugin that solved the problem: menu button and good dark colors.</p> |
| 818 |
</div> |
| 819 |
<div class="darkify_testimonial-info"> |
| 820 |
<div class="themeatelier-img"> |
| 821 |
<img src="https://secure.gravatar.com/avatar/d2e3b8de64bba676b611114777e13ba517e9f78d4c82871f48cbd2e0bd819736?s=100&d=retro&r=g" alt="Albertmargeli"> |
| 822 |
</div> |
| 823 |
<div class="themeatelier-info"> |
| 824 |
<h3>Angusbreno</h3> |
| 825 |
<div class="themeatelier-star"> |
| 826 |
<i>� |
| 827 |
� |
| 828 |
� |
| 829 |
� |
| 830 |
� |
| 831 |
</i> |
| 832 |
</div> |
| 833 |
</div> |
| 834 |
</div> |
| 835 |
</div> |
| 836 |
</div> |
| 837 |
|
| 838 |
</div> |
| 839 |
|
| 840 |
</div> |
| 841 |
</section> |
| 842 |
|
| 843 |
<!-- About Page --> |
| 844 |
<section id="pro-plugins-tab" class="themeatelier__help about-page tab-content"> |
| 845 |
<div class="themeatelier-container"> |
| 846 |
<div class="themeatelier-our-plugin-list"> |
| 847 |
<h2 class="help_page_title">Upgrade your Website with our High-quality Plugins!</h2> |
| 848 |
<div class="themeatelier-our-plugin-list-wrap"> |
| 849 |
<a target="_blank" class="themeatelier-our-plugin-list-box" href="https://darkifywp.com/"> |
| 850 |
<div class="box_btn"> |
| 851 |
View Details |
| 852 |
<i class="icofont-long-arrow-right"></i> |
| 853 |
</div> |
| 854 |
<img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/assets/img/darkify-icon.svg') ?>" alt="Darkify dark mode plugin"> |
| 855 |
<h4>Darkify - WordPress Dark Mode Plugin</h4> |
| 856 |
<p>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.</p> |
| 857 |
</a> |
| 858 |
<a target="_blank" class="themeatelier-our-plugin-list-box" href="https://themeatelier.net/downloads/whatsapp-chat-help"> |
| 859 |
<div class="box_btn"> |
| 860 |
View Details |
| 861 |
<i class="icofont-long-arrow-right"></i> |
| 862 |
</div> |
| 863 |
<img src="https://ps.w.org/chat-help/assets/icon-256x256.png?rev=3270129" alt="WhatsApp Chat Help"> |
| 864 |
<h4>WhatsApp Chat Help - Chat Support Plugin For WordPress</h4> |
| 865 |
<p>Whatsapp chat support is a WordPress plugin that allows website owners to easily add a WhatsApp chat button to their website.</p> |
| 866 |
</a> |
| 867 |
|
| 868 |
<a target="_blank" class="themeatelier-our-plugin-list-box" href="https://themeatelier.net/downloads/eventful/"> |
| 869 |
<div class="box_btn"> |
| 870 |
View Details |
| 871 |
<i class="icofont-long-arrow-right"></i> |
| 872 |
</div> |
| 873 |
<img src="https://ps.w.org/eventful/assets/icon-256x256.png?rev=3088585" alt="Eventful"> |
| 874 |
<h4>Event Carousel, Event Slider, Event Grid, and Event List for The Events Calendar</h4> |
| 875 |
<p>With "Eventful," you can effortlessly create intelligent layouts for "The Events Calendar" plugin, effectively addressing and resolving compatibility issues that may arise.</p> |
| 876 |
</a> |
| 877 |
<a target="_blank" class="themeatelier-our-plugin-list-box" href="https://themeatelier.net/downloads/domain-for-sale/"> |
| 878 |
<div class="box_btn"> |
| 879 |
View Details |
| 880 |
<i class="icofont-long-arrow-right"></i> |
| 881 |
</div> |
| 882 |
<img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/thumbnail-2.png') ?>" alt="logo"> |
| 883 |
<h4>Domain For Sale</h4> |
| 884 |
<p>The ultimate WordPress plugin for domain sales, appraisals, auctions, and marketplace management.</p> |
| 885 |
</a> |
| 886 |
<a target="_blank" class="themeatelier-our-plugin-list-box" href="https://themeatelier.net/downloads/greet/"> |
| 887 |
<div class="box_btn"> |
| 888 |
View Details |
| 889 |
<i class="icofont-long-arrow-right"></i> |
| 890 |
</div> |
| 891 |
<img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/greet-logo.png') ?>" alt="logo"> |
| 892 |
<h4>Greet - Video Bubble Plugin for WordPress</h4> |
| 893 |
<p>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.</p> |
| 894 |
</a> |
| 895 |
<a target="_blank" class="themeatelier-our-plugin-list-box" href="https://themeatelier.net/downloads/eventful-for-elementor/"> |
| 896 |
<div class="box_btn"> |
| 897 |
View Details |
| 898 |
<i class="icofont-long-arrow-right"></i> |
| 899 |
</div> |
| 900 |
<img src="<?php echo esc_url(DARKIFY_DIR_URL . 'src/Admin/HelpPage/assets/images/eventful-for-elementor.png') ?>" alt="logo"> |
| 901 |
<h4>Eventful for Elementor - Events Showcase for The "The Events Calendar"</h4> |
| 902 |
<p>Easily display events from The Events Calendar plugin with Elementor widgets, offering seamless customization and powerful layout options.</p> |
| 903 |
</a> |
| 904 |
</div> |
| 905 |
</div> |
| 906 |
</div> |
| 907 |
</section> |
| 908 |
|
| 909 |
<!-- Footer Section --> |
| 910 |
<section class="themeatelier_footer"> |
| 911 |
<div class="themeatelier_footer_top"> |
| 912 |
<p> |
| 913 |
<span>Made With <i class="icofont-heart-alt"></i></span> |
| 914 |
By the Team <a target="_blank" href="https://themeatelier.net/">ThemeAtelier</a> |
| 915 |
</p> |
| 916 |
<p>Get connected with</p> |
| 917 |
<ul> |
| 918 |
<li> |
| 919 |
<a target="_blank" href="https://www.facebook.com/ThemeAtelier/"><i class="icofont-facebook"></i></a> |
| 920 |
</li> |
| 921 |
<li> |
| 922 |
<a target="_blank" href="https://x.com/intent/follow?screen_name=themeatelier"><i class="icofont-twitter"></i></a> |
| 923 |
</li> |
| 924 |
<li> |
| 925 |
<a target="_blank" href="https://profiles.wordpress.org/themeatelier/#content-plugins"><i class="icofont-brand-wordpress"></i></a> |
| 926 |
</li> |
| 927 |
<li> |
| 928 |
<a target="_blank" href="https://www.youtube.com/@themeatelier"><i class="icofont-youtube-play"></i></a> |
| 929 |
</li> |
| 930 |
</ul> |
| 931 |
</div> |
| 932 |
</section> |
| 933 |
</div> |
| 934 |
<?php |
| 935 |
} |
| 936 |
} |
| 937 |
|