Current File : /home/choksima/domains/choksima.com/public_html/wp-content/themes/news-portal/header.php
<?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 Mystery Themes
 * @subpackage News Portal
 * @since 1.0.0
 */

?><!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">

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

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

<?php
	if ( function_exists( 'wp_body_open' ) ) {
		wp_body_open();
	} else {
		do_action( 'wp_body_open' );
	}

	/**
     * news_portal_before_page hook
     *
     * @since 1.0.0
     */
    do_action( 'news_portal_before_page' );
?>

<div id="page" class="site">

	<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'news-portal' ) ;?></a>

	<?php
		$news_portal_top_header_option = get_theme_mod( 'news_portal_top_header_option' );
		if ( $news_portal_top_header_option == 'show' ) {
			
			/**
		     * news_portal_top_header hook
		     *
		     * @hooked - news_portal_top_header_start - 5
		     * @hooked - news_portal_top_left_section - 10
		     * @hooked - news_portal_top_right_section - 15
		     * @hooked - news_portal_top_header_end - 20
		     *
		     * @since 1.0.0
		     */
		    do_action( 'news_portal_top_header' );
		}

		/**
	     * news_portal_header_section hook
	     *
	     * @hooked - news_portal_header_section_start - 5
	     * @hooked - news_portal_header_logo_ads_section_start - 10
	     * @hooked - news_portal_site_branding_section - 15
	     * @hooked - news_portal_header_ads_section - 20
	     * @hooked - news_portal_header_logo_ads_section_end - 25
	     * @hooked - news_portal_primary_menu_section - 30
	     * @hooked - news_portal_header_section_end - 35
	     *
	     * @since 1.0.0
	     */
	    do_action( 'news_portal_header_section' );
	    
		$news_portal_ticker_option = get_theme_mod( 'news_portal_ticker_option', 'show' );
		if ( $news_portal_ticker_option == 'show' && is_front_page() ) {

			/**
		     * news_portal_top_header hook
		     *
		     * @hooked - news_portal_ticker_section_start - 5
		     * @hooked - news_portal_ticker_content - 10
		     * @hooked - news_portal_ticker_section_end - 15
		     *
		     * @since 1.0.0
		     */
		    do_action( 'news_portal_ticker_section' );
		}
	?>

	<div id="content" class="site-content">
		<div class="mt-container">