<footer class="pageFooter">
    <nav>
      <?php wp_nav_menu( array('theme_location'  => 'primary', 'menu' => 'main-nav')); ?>
    </nav>
  </footer>
</div>
<?php
	/* Always have wp_footer() just before the closing </body>
	 * tag of your theme, or you will break many plugins, which
	 * generally use this hook to reference JavaScript files.
	 */

	wp_footer();
?>
</body>
</html>