• Hi all can someone please tell me why my Menu is Repeating its self 6 times. Here is the code.

    <?php
    require('wp-blog-header.php');
    ?>
    <?php
    $posts = get_posts('numberposts=10&order=ASC&orderby=post_title');
    foreach ($posts as $post) : start_wp(); ?>
    
    <div id="MenuWrapper">
    				<div id="MainMenu">
    					<div id="MmLeft"></div>
    					<div id="MmBody">
    
    						<!-- Main Menu Links -->
    						<ul class="sf-menu">
    							<li class="<?php if (is_home()) : echo 'current'; endif; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li>
    							<?php printMenuItems(); ?>
    						</ul>
    					<ul class="sf-menu">	<script type="text/javascript" src="http://www.milestonemedia.ie/support/image.php?v=PGEgaHJlZj1cImphdmFzY3JpcHQ6dm9pZCh3aW5kb3cub3BlbignaHR0cDovL3d3dy5taWxlc3RvbmVtZWRpYS5pZS9zdXBwb3J0L2xpdmV6aWxsYS5waHAnLCcnLCd3aWR0aD01OTAsaGVpZ2h0PTU1MCxsZWZ0PTAsdG9wPTAscmVzaXphYmxlPXllcyxtZW51YmFyPW5vLGxvY2F0aW9uPXllcyxzdGF0dXM9eWVzLHNjcm9sbGJhcnM9eWVzJykpXCIgPCEtLWNsYXNzLS0-PjwhLS10ZXh0LS0-PC9hPjwhPkxpdmUgSGVscCAoT25saW5lKTwhPkxpdmUgSGVscCAoT2ZmbGluZSk8IT4_"></script></ul>
    					</div>
    					<div id="MmRight"></div>
    				</div>
    			</div>
    <?php
    endforeach;
    ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Menu Repeating 6 times’ is closed to new replies.