mmm…think the theme i am using is using something different or something…no idea what the hell is going on ??
Sure ill figure something out soon…
This is the coding for the menu:
<div id="sf-menu" class="jqueryslidemenu">
<div class="sidebar_divider"></div>
<?php
$primary = '';
$primary = wp_nav_menu( array( 'container' => 'ul', 'theme_location' => 'primary-menu', 'fallback_cb' => '', 'menu_class' => 'sf-menu', 'echo' => false, 'link_before' => '<strong>', 'link_after' => '</strong><span> </span>' ) );
$primary = preg_replace('/(<a[^>]+>)([^\/]+)\/([^<]+)<\/strong><span> <\/span>(<\/a>)/','$1$2</strong><span>$3 </span>$4', $primary);
if($primary <> "") {
echo($primary);
} else { ?>
<ul id="menu-navigation" class="sf-menu">
<li><a href="<?php bloginfo("home"); ?>" title="<?php echo wp_specialchars( get_bloginfo('name'), 1 ) ?>" rel="home"><strong>Home </strong><span> homepage </span></a></li>
<?php foreach ( (get_pages('sort_column=menu_order') ) as $page ) { if ( $page->post_parent == '0' ) { ?>
<li>
<a href="<?php echo get_page_link($page->ID); ?>"><strong><?php echo $page->post_title; ?> </strong><span> <?php echo get_post_meta($page->ID, "subtitle", true); ?> </span></a>
<?php
$child_pages = get_pages('child_of='.$page->ID);
if (get_page_children($page->ID, $child_pages) ) { ?>
<ul><?php wp_list_pages('title_li=&child_of=' . $page->ID ); ?></ul>
<?php } ?>