<?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 charitable_trust
 */

?>
<?php
	/**
	 * Hook - charitable_trust_action_doctype.
	 *
	 * @hooked charitable_trust_doctype -  10
	 */
	do_action( 'charitable_trust_action_doctype' );
?>
<head>
	<?php
	/**
	 * Hook - charitable_trust_action_head.
	 *
	 * @hooked charitable_trust_head -  10
	 */
	do_action( 'charitable_trust_action_head' );
	?>

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

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

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

	<?php
	$charitable_trust_show_preloader = charitable_trust_get_option( 'charitable_trust_show_preloader_setting' );
        if ( true === $charitable_trust_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 - charitable_trust_action_before.
	 *
	 * @hooked charitable_trust_page_start - 10
	 * @hooked charitable_trust_skip_to_content - 15
	 */
	do_action( 'charitable_trust_action_before' );
	?>

    <?php
	  /**
	   * Hook - charitable_trust_action_before_header.
	   *
	   * @hooked charitable_trust_header_start - 10
	   */
	  do_action( 'charitable_trust_action_before_header' );
	?>
		<?php
		/**
		 * Hook - charitable_trust_action_header.
		 *
		 * @hooked charitable_trust_site_branding - 10
		 */
		do_action( 'charitable_trust_action_header' );
		?>
    <?php
	  /**
	   * Hook - charitable_trust_action_after_header.
	   *
	   * @hooked charitable_trust_header_end - 10
	   */
	  do_action( 'charitable_trust_action_after_header' );
	?>

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

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