????

Your IP : 18.191.37.129


Current Path : /home/innovagencyco/www/statxpress/wp-content/themes/electro/inc/structure/
Upload File :
Current File : /home/innovagencyco/www/statxpress/wp-content/themes/electro/inc/structure/header-v1.php

<?php
/**
 * Template functions that hook to electro_header_v1
 */

if ( ! function_exists( 'electro_vertical_menu' ) ) {
	/**
	 *
	 */
	function electro_vertical_menu() {
		?>
		<div class="col-xs-12 col-lg-3">
		<?php
			$vertical_menu_title = apply_filters( 'electro_vertical_menu_title', wp_kses_post( 'All Departments', 'electro' ) );
			$vertical_menu_icon  = apply_filters( 'electro_vertical_menu_icon', 'fa fa-list-ul' );

			if ( ( is_front_page() && ! is_home() ) || is_page_template( 'template-homepage-v1.php' ) || is_page_template( 'template-homepage-v10.php' ) ) :
				wp_nav_menu( array(
					'theme_location'	=> 'all-departments-menu',
					'container'			=> false,
					'items_wrap'     	=> '<ul class="list-group vertical-menu yamm make-absolute"><li class="list-group-item"><span><i class="' . esc_attr( $vertical_menu_icon ) . '"></i> ' . wp_kses_post( $vertical_menu_title ). '</span></li>%3$s</ul>',
					'fallback_cb'       => 'wp_bootstrap_navwalker::fallback',
					'walker'            => new wp_bootstrap_navwalker(),
				) );
			else : ?>
				<ul class="list-group vertical-menu animate-dropdown">
					<li class="list-group-item dropdown">
						<a href="#" data-bs-toggle="dropdown"><i class="<?php echo esc_attr( $vertical_menu_icon ); ?>"></i> <?php echo wp_kses_post( $vertical_menu_title ); ?></a>
						<?php
						wp_nav_menu( array(
							'theme_location'	=> 'all-departments-menu',
							'container'			=> false,
							'menu_class'		=> 'dropdown-menu yamm',
							'fallback_cb'       => 'wp_bootstrap_navwalker::fallback',
							'walker'            => new wp_bootstrap_navwalker(),
						) );
						?>
					</li>
				</ul>
		<?php endif; ?>
		</div>
		<?php
	}
}

if ( ! function_exists( 'electro_secondary_nav' ) ) {
	/**
	 *
	 */
	function electro_secondary_nav() {
		?>
		<div class="col-xs-12 col-lg-9">
		<?php
			wp_nav_menu( array(
				'theme_location'	=> 'secondary-nav',
				'container'			=> false,
				'menu_class'		=> 'secondary-nav yamm',
				'fallback_cb'       => 'wp_bootstrap_navwalker::fallback',
				'walker'            => new wp_bootstrap_navwalker(),
			) );
		?>
		</div>
		<?php
	}
}