hello, I'm trying very hard to solve this problem:
the Sanbox-globalnav shows only the list of pages but I want to add general links such as to external website or to a single post.
This is the function of the navigation bar:
function sandbox_globalnav() {
if ( $menu = str_replace( array( "\r", "\n", "\t" ), '', wp_list_pages('title_li=&sort_column=menu_order&echo=0') ) )
$menu = '<ul>' . $menu . '</ul>';
$menu = '<div id="menu">' . $menu . "</div>\n";
echo apply_filters( 'globalnav_menu', $menu ); // Filter to override default globalnav: globalnav_menu
}
Thank you