<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package siteorigin-north
* @license GPL 2.0
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DWVXH84C5C"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-DWVXH84C5C');
</script>
<meta name="google-site-verification"
content="boI-A3EYgoXqlWo6TJIflTJLShU78wjihi5ss7ulzgY" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": ["Organization", "LocalBusiness"],
"name": "My Dentist Burbank",
"image": "https://mydentistburbank.com/wp-content/uploads/2019/06/log_web.png",
"@id": "https://mydentistburbank.com/",
"url": "https://mydentistburbank.com/",
"telephone": "+18185782332",
"address": {
"@type": "PostalAddress",
"streetAddress": "3808 W Riverside Dr. Suite 502",
"addressLocality": "Burbank",
"addressRegion": "California",
"postalCode": "91505",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 34.153111545470594,
"longitude": -118.34109094602952
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "08:00",
"closes": "17:00"
}
],
"sameAs": [
"https://www.facebook.com/MyDentistBurbank"
],
"priceRange": "$$",
"contactPoint": {
"@type": "ContactPoint",
"contactType": "customer support",
"telephone": "+18185782332",
"email": "infomydentistburbank@yahoo.com",
"areaServed": "US",
"availableLanguage": "English"
},
"logo": "https://mydentistburbank.com/wp-content/uploads/2019/06/log_web.png",
"description": "At My Dentist Burbank, we offer top-notch, patient-focused dental care in a welcoming environment. Using the latest technology, our skilled team provides everything from routine check-ups to advanced treatments. Conveniently located in Burbank, we’re dedicated to making your dental experience comfortable and effective. Your smile is our priority!",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "5",
"reviewCount": "9"
}
}
</script>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}
?>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content">
<?php esc_html_e( 'Skip to content', 'siteorigin-north' ); ?>
</a>
<?php if ( siteorigin_setting( 'masthead_text_above' ) && ! is_active_sidebar( 'topbar-sidebar' ) ) : ?>
<div id="topbar">
<?php
if ( class_exists( 'WooCommerce' ) && is_store_notice_showing() ) {
siteorigin_north_wc_demo_store();
}
?>
<div class="container">
<p>
<?php echo wp_kses_post( siteorigin_setting( 'masthead_text_above' ) ); ?>
</p>
</div>
</div><!-- #topbar -->
<?php elseif ( is_active_sidebar( 'topbar-sidebar' ) ) : ?>
<div id="topbar">
<?php
if ( class_exists( 'WooCommerce' ) && is_store_notice_showing() ) {
siteorigin_north_wc_demo_store();
}
?>
<div id="topbar-widgets" class="container">
<?php
$siteorigin_north_masthead_sidebar = wp_get_sidebars_widgets();
$topbar_widgets = $siteorigin_north_masthead_sidebar['topbar-sidebar'] ?? [];
?>
<div
class="widgets widgets-<?php echo count( $topbar_widgets ); ?>"
aria-label="<?php esc_attr_e( 'Top Bar Sidebar', 'siteorigin-north' ); ?>"
>
<?php dynamic_sidebar( 'topbar-sidebar' ); ?>
</div>
</div><!-- #topbar-widgets -->
</div><!-- #topbar -->
<?php elseif ( class_exists( 'WooCommerce' ) && is_store_notice_showing() ) : ?>
<div id="topbar">
<?php siteorigin_north_wc_demo_store(); ?>
</div><!-- #topbar -->
<?php endif; ?>
<?php if ( ! siteorigin_page_setting( 'hide_masthead', false ) ) : ?>
<header
id="masthead"
class="site-header layout-<?php echo sanitize_html_class(
str_replace(
'_',
'-',
siteorigin_setting( 'masthead_layout' )
)
); ?> <?php
if ( siteorigin_setting( 'navigation_sticky' ) ) {
echo 'sticky-menu';
}
?>"
<?php
if ( siteorigin_setting( 'navigation_sticky_scale' ) ) {
echo 'data-scale-logo="true"';
}
?>
>
<div class="container">
<div class="container-inner">
<div class="site-branding">
<?php siteorigin_north_display_logo(); ?>
<?php if ( siteorigin_setting( 'branding_site_description' ) ) : ?>
<p class="site-description">
<?php bloginfo( 'description' ); ?>
</p>
<?php endif; ?>
</div><!-- .site-branding -->
<nav id="site-navigation" class="main-navigation">
<?php if ( siteorigin_page_setting( 'layout' ) !== 'stripped' ) : ?>
<?php if ( function_exists( 'ubermenu' ) ) : ?>
<?php
ubermenu(
'main',
array(
'theme_location' => 'primary',
)
);
?>
<?php elseif (
function_exists( 'max_mega_menu_is_enabled' )
&& max_mega_menu_is_enabled( 'primary' )
) : ?>
<?php
wp_nav_menu(
array(
'theme_location' => 'primary',
)
);
?>
<?php else : ?>
<?php
$menu_id = (
wp_get_nav_menu_name( 'primary' )
? wp_get_nav_menu_name( 'primary' )
: false
);
$show_mini_cart = false;
if ( class_exists( 'WooCommerce' ) ) {
if (
(
! ( is_cart() || is_checkout() )
&& siteorigin_setting( 'woocommerce_display_cart' )
)
||
(
( is_cart() || is_checkout() )
&& siteorigin_setting( 'woocommerce_display_checkout_cart' )
)
) {
$show_mini_cart = true;
}
}
?>
<?php
if (
(
$menu_id
&& wp_get_nav_menu_object( $menu_id )->count
)
|| siteorigin_setting( 'navigation_search' )
|| $show_mini_cart
) :
?>
<a href="#menu" id="mobile-menu-button">
<?php siteorigin_north_display_icon( 'menu' ); ?>
<?php if ( siteorigin_setting( 'responsive_menu_text' ) ) : ?>
<?php
echo esc_html(
siteorigin_setting( 'responsive_menu_text' )
);
?>
<span class="screen-reader-text">
<?php
esc_html_e(
'Menu',
'siteorigin-north'
);
?>
</span>
<?php endif; ?>
</a>
<?php endif; ?>
<?php
wp_nav_menu(
array(
'theme_location' => 'primary',
'menu_id' => 'primary-menu',
)
);
?>
<?php if ( $show_mini_cart ) : ?>
<ul class="shopping-cart">
<li>
<a
class="shopping-cart-link"
href="<?php echo esc_url( wc_get_cart_url() ); ?>"
>
<span class="screen-reader-text">
<?php
esc_html_e(
'View shopping cart',
'siteorigin-north'
);
?>
</span>
<span class="north-icon-cart"></span>
<span class="shopping-cart-text">
<?php
esc_html_e(
' View Cart ',
'siteorigin-north'
);
?>
</span>
<span class="shopping-cart-count">
<?php echo WC()->cart->cart_contents_count; ?>
</span>
</a>
<ul
class="shopping-cart-dropdown"
id="cart-drop"
>
<?php
$instance = array(
'title' => '',
);
the_widget(
'WC_Widget_Cart',
$instance
);
?>
</ul>
</li>
</ul>
<?php endif; ?>
<?php endif; ?>
<?php
if (
siteorigin_setting( 'navigation_search' )
&& ! (
function_exists( 'ubermenu' )
|| function_exists( 'max_mega_menu_is_enabled' )
)
) :
?>
<button class="north-search-icon">
<label class="screen-reader-text">
<?php
esc_html_e(
'Open search bar',
'siteorigin-north'
);
?>
</label>
<?php
siteorigin_north_display_icon( 'search' );
?>
</button>
<?php endif; ?>
<?php endif; ?>
<?php if ( siteorigin_page_setting( 'layout' ) === 'stripped' ) : ?>
<ul>
<li>
<a
href="<?php echo esc_url( home_url( '/' ) ); ?>"
class="stripped-backlink"
onclick="window.history.go(-1); return false;"
>
<?php
esc_html_e(
'Go back',
'siteorigin-north'
);
?>
</a>
</li>
</ul>
<?php endif; ?>
</nav><!-- #site-navigation -->
</div><!-- .container-inner -->
</div><!-- .container -->
<?php if ( siteorigin_setting( 'navigation_search' ) ) : ?>
<div id="header-search">
<div class="container">
<label
for="s"
class="screen-reader-text"
>
<?php
esc_html_e(
'Search for:',
'siteorigin-north'
);
?>
</label>
<?php get_search_form(); ?>
<a id="close-search">
<span class="screen-reader-text">
<?php
esc_html_e(
'Close search bar',
'siteorigin-north'
);
?>
</span>
<?php
siteorigin_north_display_icon( 'close' );
?>
</a>
</div>
</div>
<?php endif; ?>
</header><!-- #masthead -->
<?php endif; ?>
<?php do_action( 'siteorigin_north_content_before' ); ?>
<div id="content" class="site-content">
<div class="container">
<?php do_action( 'siteorigin_north_content_top' ); ?>
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package siteorigin-north
* @license GPL 2.0
*/
?>
</div><!-- .container -->
</div><!-- #content -->
<?php do_action( 'siteorigin_north_footer_before' ); ?>
<footer
id="colophon"
class="site-footer <?php
if ( ! siteorigin_setting( 'footer_constrained' ) ) {
echo 'unconstrained-footer';
}
if ( is_active_sidebar( 'footer-sidebar' ) ) {
echo ' footer-active-sidebar';
}
?>"
>
<?php do_action( 'siteorigin_north_footer_top' ); ?>
<?php if (
! siteorigin_page_setting( 'hide_footer_widgets', false )
&& ! in_array(
siteorigin_page_setting( 'layout' ),
array( 'stripped' ),
true
)
) : ?>
<div class="container">
<?php
if ( is_active_sidebar( 'footer-sidebar' ) ) {
$siteorigin_north_sidebars = wp_get_sidebars_widgets();
$footer_widgets = $siteorigin_north_sidebars['footer-sidebar'] ?? [];
?>
<div
class="widgets widget-area widgets-<?php echo count( $footer_widgets ); ?>"
aria-label="<?php esc_attr_e( 'Footer Sidebar', 'siteorigin-north' ); ?>"
>
<?php dynamic_sidebar( 'footer-sidebar' ); ?>
</div>
<?php
}
?>
</div><!-- .container -->
<?php endif; ?>
<div class="site-info">
<div class="container">
<?php
siteorigin_north_footer_text();
if (
function_exists( 'the_privacy_policy_link' )
&& siteorigin_setting( 'footer_privacy_policy_link' )
) {
$privacy_url = get_privacy_policy_url();
if (
! empty( $privacy_url )
&& siteorigin_setting( 'footer_text' )
) {
?>
<span class="sep"> | </span>
<?php
}
the_privacy_policy_link( '', '' );
}
$credit_text = apply_filters(
'siteorigin_north_footer_credits',
sprintf(
esc_html__(
'Wordpress development by %s.',
'siteorigin-north'
),
'<a href="https://develton.com/" target="_blank" class="development">Devel<span>Ton</span></a>'
)
);
if ( ! empty( $credit_text ) ) {
?>
<span class="sep"> | </span>
<?php
echo wp_kses_post( $credit_text );
}
?>
</div>
</div><!-- .site-info -->
<?php do_action( 'siteorigin_north_footer_bottom' ); ?>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php if (
siteorigin_setting( 'navigation_scroll_to_top' )
&& siteorigin_page_setting( 'layout' ) !== 'stripped'
) : ?>
<div id="scroll-to-top">
<span class="screen-reader-text">
<?php esc_html_e( 'Scroll to top', 'siteorigin-north' ); ?>
</span>
<?php siteorigin_north_display_icon( 'up-arrow' ); ?>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>