| Server IP : 198.38.94.67 / Your IP : 216.73.217.178 Web Server : LiteSpeed System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64 User : azfilmst ( 1070) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/azfilmst/public_html/wp-content/themes/frames/templates/ |
Upload File : |
<?php /** * @package HaruTheme * @version 1.0.0 * @author Administrator <admin@harutheme.com> * @copyright Copyright (c) 2017, HaruTheme * @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later * @link http://harutheme.com */ $dark_mode_button = haru_get_option( 'haru_dark_mode_button', '0' ); $dark_mode = haru_get_option( 'haru_dark_mode', '0' ); ?> <?php if ( $dark_mode_button == '1' ) : ?> <div class="switch-theme-mode" data-text-default="<?php echo ( '1' == $dark_mode ) ? esc_html__( 'Dark', 'frames' ) : esc_html__( 'Light', 'frames' ); ?>" data-text-dark="<?php echo esc_html__( 'Dark', 'frames' ); ?>" data-text-light="<?php echo esc_html__( 'Light', 'frames' ); ?>"> <div class="button-switch-mode"> <div class="button-switch-label"> <div class="button-switch-light"><?php echo esc_html__( 'Light', 'frames' ); ?></div> <div class="button-switch-dark"><?php echo esc_html__( 'Dark', 'frames' ); ?></div> </div> <div class="button-switch"></div> </div> </div> <?php endif; ?>