<?php
/**
 * Header template
 * Displays all of the head element
 * @package store-expert
 */

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open() ): ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>

<?php wp_head(); ?>
</head>
<body  <?php body_class(); ?>>
	<?php
	/**
	 * Calls the callback functions that have been added to an action hook.
	 * Triggered after the opening body tag.
	 */
	if ( function_exists( 'wp_body_open' ) ) {
	    wp_body_open();
	}
	
	/**
	 * Creates necessary <header> tag
	 * Also contains skip link which is essential for WordPress standard
	 * Ref function store_expert_wrap_open() / inc/template-tag.php
	 */
	do_action( 'store_expert_wrapopen' );

	/**
	 * Top bar 
	 * refer function store_expert_topbar_settings() - inc/template-tag.php
	 */
	do_action( 'store_expert_topbar' );

	/**
	 * Logo Area
	 * refer function store_expert_logo_settings() - inc/template-tag.php
	 */
	do_action( 'store_expert_header' );

	/**
	 * Main Navigation 
	 * refer function store_expert_main_navigation() - inc/template-tag.php
	 */
	do_action( 'store_expert_navigation' );

	/**
	 * Creates necessary </header> tag
	 * Ref function store_expert_wrap_close() / inc/template-tag.php
	 */
	do_action( 'store_expert_wrapclose' );