<?php
/**
 * The header for our theme.
 *
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package bookstore_exhibition
 */

?>
<?php
	/**
	 * Hook - bookstore_exhibition_action_doctype.
	 *
	 * @hooked bookstore_exhibition_doctype -  10
	 */
	do_action( 'bookstore_exhibition_action_doctype' );
?>
<head>
	<?php
	/**
	 * Hook - bookstore_exhibition_action_head.
	 *
	 * @hooked bookstore_exhibition_head -  10
	 */
	do_action( 'bookstore_exhibition_action_head' );
	?>

<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

	<?php do_action( 'wp_body_open' ); ?>

	<?php 
	$show_preloader = bookstore_exhibition_get_option( 'show_preloader_setting' );
        if ( true === $show_preloader ) : ?>
			<div id="preloader" class="loader-head">
				<div class="preloader">
				    <div class="spinner"></div>
				    <div class="spinner-2"></div>
				</div>
			</div>
	<?php endif; ?>

	<?php
	/**
	 * Hook - bookstore_exhibition_action_before.
	 *
	 * @hooked bookstore_exhibition_page_start - 10
	 * @hooked bookstore_exhibition_skip_to_content - 15
	 */
	do_action( 'bookstore_exhibition_action_before' );
	?>

    <?php
	  /**
	   * Hook - bookstore_exhibition_action_before_header.
	   *
	   * @hooked bookstore_exhibition_header_start - 10
	   */
	  do_action( 'bookstore_exhibition_action_before_header' );
	?>
		<?php
		/**
		 * Hook - bookstore_exhibition_action_header.
		 *
		 * @hooked bookstore_exhibition_site_branding - 10
		 */
		do_action( 'bookstore_exhibition_action_header' );
		?>
    <?php
	  /**
	   * Hook - bookstore_exhibition_action_after_header.
	   *
	   * @hooked bookstore_exhibition_header_end - 10
	   */
	  do_action( 'bookstore_exhibition_action_after_header' );
	?>

	<?php
	/**
	 * Hook - bookstore_exhibition_action_before_content.
	 *
	 * @hooked bookstore_exhibition_content_start - 10
	 */
	do_action( 'bookstore_exhibition_action_before_content' );
	?>

	<!-- <?php
	  /**
	   * Hook - bookstore_exhibition_action_content.
	   */
	  do_action( 'bookstore_exhibition_action_content' );
	?> -->

