Primary menu not showing like I want

Hello I am working with a theme that should be able to use customized menu’s, but every time I set the primary menu within word press it does not show the way I want.

[php]


<?php
echo “\t”;

		if (has_nav_menu('primary')) {
			wp_nav_menu(array( 
				'theme_location' => 'primary', 
				'container' => false, 
				'menu_id' => 'navigation', 
				'menu_class' => 'navigation', 
				'link_before' => '<span><span>', 
				'link_after' => '</span></span>'
			));
		} else {
			echo '<ul id="navigation">';
			
			wp_list_pages(array( 
				'title_li' => '', 
				'link_before' => '<span><span>', 
				'link_after' => '</span></span>' 
			));
			
			echo '</ul>';
		}
		
		echo "\r";
	?>
		<div class="cl"></div>
	</nav>
	<div class="cl"></div>
	<!-- _________________________ Finish Navigation _________________________ -->[/php]

This is the code for the nav bar.

What seems to happen is the else statment is being called and showing every page I have and all sub pages linked to it.

Sorry I am very new, is there anyway I can fix this to make it show my customized menu created within the wordpress dash board?

Sponsor our Newsletter | Privacy Policy | Terms of Service