The RSS link is within the same code. Look at line 417:
echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';
I am currently trying to remove it myself but I am crap at php and can not get it to work properly. I can remove it by commenting the whole line out but then I am also commenting out the and </div>… I’ve tried to move those two up but with not much luck…
The full bit of code is:
function sandbox_globalnav() {
echo '<div id="menu"><ul><li class="page_item"></li>';
$menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php
echo str_replace(array("\r", "\n", "\t"), '', $menu);
echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';
}
and if someone can tell me exactly what to comment out/ delete / move I’d be very greatful!
Cheers!