I am using wp_nav_menu to insert a menu into my wordpress theme. I need an inline list with the tilde (~) character before each item in the menu. However I do not want the tilde character to appear before the first item in the list.
I am able to generate the menu using the following:
$menu_args = array( 'before' => '<span class="option-separator">~</span>' ); wp_nav_menu($menu_args);
How can I remove the tilde from the first entry in the menu? Is there a way to set the value of "before" to a blank or empty for just the first item?