File: /var/www/html/delstar/wp-content/themes/construction/header.php
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package WPCharming
*/
global $wpc_option;
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'wpcharming' ); ?></a>
<?php
if( ! isset( $_REQUEST['header-demo'] ) ) {
$_REQUEST['header-demo'] = false;
}
if( ! isset( $wpc_option['header_style'] ) ) {
$wpc_option['header_style'] = false;
}
if ( isset( $wpc_option['header_style'] ) || isset( $_REQUEST['header-demo'] ) ) {
if( $wpc_option['header_style'] == 'topbar' || $_REQUEST['header-demo'] == 'topbar' ) {
do_action('wpcharming_header_topbar');
} elseif( $wpc_option['header_style'] == 'centered' || $_REQUEST['header-demo'] == 'centered' ) {
do_action('wpcharming_header_centered');
} else {
do_action('wpcharming_header_default');
}
} else {
// if Refux plugin no active
do_action('wpcharming_header_default');
}
?>
<div id="content" class="site-content">