HEX
Server: LiteSpeed
System: Linux c7.my-control-panel.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User: bigfreeodds (5956)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bigfreeodds/public_html/wp-content/themes/neon-kick-live/header.php
<?php
/**
 * Neon Kick Live — Header Template
 * The actual page-level content is in each page template.
 * header.php outputs only the document <head> and opens <body>.
 *
 * @package NeonKickLive
 */
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="description" content="<?php
	if ( is_singular() ) {
		echo esc_attr( get_the_excerpt() ?: get_bloginfo( 'description' ) );
	} else {
		echo esc_attr( get_bloginfo( 'description' ) );
	}
?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php
$nk_theme_pref = 'dark';
if ( is_user_logged_in() ) {
	$nk_theme_pref = sanitize_key( get_user_meta( get_current_user_id(), 'neonkick_theme_preference', true ) ?: 'dark' );
}
?>
<script>
(function () {
  try {
    var saved = localStorage.getItem('neonkick_theme');
    var pref = saved || <?php echo wp_json_encode( $nk_theme_pref ); ?>;
    if (pref !== 'light' && pref !== 'dark') pref = 'dark';
    document.body.classList.toggle('light', pref === 'light');
  } catch (e) {
    document.body.classList.remove('light');
  }
})();
</script>
<div class="app">