<?php
/**
 * The header for our theme
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package Poster
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

$navbar_type = get_theme_mod( 'poster_navbar_type', 'collapse' );
$poster_stickymenu = get_theme_mod( 'poster_stickymenu', 'nonfixed' );
?>

<header id="wrapper-navbar" class="<?php echo esc_attr( $poster_stickymenu ); ?>">
	<a class="skip-link <?php echo poster_get_screen_reader_class( true ); ?>" href="#content">
		<?php esc_html_e( 'Skip to content', 'poster' ); ?>
	</a>

	<?php get_template_part( 'global-templates/header/navbar', $navbar_type . '-' . 'bootstrap5-branding' ); ?>

</header><!-- #wrapper-navbar -->
<?php do_action( 'poster_below_styletwo_header' ); ?>