Hi,
I was wondering how I can get forward slash between the menu items?
An example: http://www.tokyodigital.co.uk/
Hi,
I was wondering how I can get forward slash between the menu items?
An example: http://www.tokyodigital.co.uk/
they don't have any slashes in the markup, it is all background images.
to actually get a / in the markup, you'd need to use a custom walker. see:
http://themeshaper.com/forums/topic/thematic-menus-demystified-1#post-15885
Thanks for your reply, but that seemed to be a bit to advanced for me. I have seen some easier code like here http://wordpress.org/support/topic/adding-special-characters-between-menu-items-using-wp_list_pages?replies=21,
but never figured out where to place it?
well i didn't say it would be easy, but a custom Walker is how you change the menu's markup.
thematic uses wp_nav_menu by default (wordpress 3.0+'s custom menu feature) and falls back to wp_page_nav() only if there isn't a custom menu specified.
to filter the wp_page_menu args take a look at the example from the same thread (#2 adding a home link)
http://themeshaper.com/forums/topic/thematic-menus-demystified-1#post-15281
instead of the arguments in the example, you'd use want the argument mentioned in your thread
'link_after'=>'//'
This topic has been closed to new replies.