'; echo '
'; } endif; if ( ! function_exists( 'news_portal_top_left_section' ) ) : /** * Top header left section * * @since 1.0.0 */ function news_portal_top_left_section() { $news_portal_date_option = get_theme_mod( 'news_portal_top_date_option', 'show' ); ?>
'. esc_html( date_i18n('l, F d, Y') ) .'
'; } ?>
'; echo ''; } endif; /** * Managed functions for top header hook * * @since 1.0.0 */ add_action( 'news_portal_top_header', 'news_portal_top_header_start', 5 ); add_action( 'news_portal_top_header', 'news_portal_top_left_section', 10 ); add_action( 'news_portal_top_header', 'news_portal_top_right_section', 15 ); add_action( 'news_portal_top_header', 'news_portal_top_header_end', 20 ); /*-----------------------------------------------------------------------------------------------------------------------*/ if ( ! function_exists( 'news_portal_header_section_start' ) ) : /** * header section start * * @since 1.0.0 */ function news_portal_header_section_start() { echo '