-- Global site tag (gtag.js) - Google Analytics -->
/**
* The header for our theme.
*
* Displays all of the
section and everything up till
*
* @package uncode
*/
global $is_redirect, $redirect_page;
if ($redirect_page) {
$post_id = $redirect_page;
} else {
if (isset(get_queried_object()->ID) && !is_home()) {
$post_id = get_queried_object()->ID;
} else {
$post_id = null;
}
}
if (wp_is_mobile()) {
$html_class = 'touch';
} else {
$html_class = 'no-touch';
}
if (is_admin_bar_showing()) {
$html_class .= ' admin-mode';
}
?>
Blog - Salty Broad Studios