Lego2012
12/22/2016 - 8:11 AM

Adding the Menu to the Footer

Adding the Menu to the Footer

.footer-menu ul {
	margin-left: 0;
}
.footer-menu li {
	float: left;
	list-style-type: none;
	margin-left: 0;
	margin-right: 20px;
	font-size: 1.5em;
}
<?php

// To add the menu, you’ll need to edit your footer.php file. If you’re working with a child theme, make a copy of the footer.php file from your parent theme in your child theme, and edit that instead.

// Open your footer file and add this immediately inside the opening <footer> tag:

<aside class="footer-menu widget">	
	<h3>Services</h3>
	<nav class="footer-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'wpmudev' ); ?>">
		<?php
			wp_nav_menu( array(
				'menu' => 'services',
				'menu_class' => 'footer-menu'
			 ) );
		?>
	</nav>
</aside>