<?php
/**
 * Secondary Menu 1 output
 *
 * @package Zeen
 * @since 1.0.0
 */
?>
<?php if ( has_nav_menu( 'secondary' ) || get_theme_mod( 'secondary_date' ) == 1 || get_theme_mod( 'secondary_trending_inline' ) == 1 ) : ?>
	<nav id="secondary-navigation" class="secondary-navigation rotatable tipi-xs-0">
		<ul id="menu-secondary" class="menu-secondary horizontal-menu tipi-flex menu-secondary ul-padding row font-<?php echo (int) get_theme_mod( 'typo_secondary_menu', 3 ); ?>">
			<?php
			zeen_current_date( 'secondary_menu' );
			zeen_trending_inline( 'secondary_menu' );

			if ( has_nav_menu( 'secondary' ) ) {
				wp_nav_menu( array(
					'theme_location' => 'secondary',
					'container' => '',
					'items_wrap' => '%3$s',
				) );
			}
			?>
		</ul>
	</nav><!-- .secondary-navigation -->
<?php
endif;
