ThemeShaper Forums » Thematic

[closed]

Slash between menu

(4 posts)
  • Started 2 years ago by AIJ55
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. AIJ55
    Member

    Hi,

    I was wondering how I can get forward slash between the menu items?

    An example: http://www.tokyodigital.co.uk/

    Posted 2 years ago #
  2. 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://forums.themeshaper.com/topic/thematic-menus-demystified-1#post-15885

    Posted 2 years ago #
  3. AIJ55
    Member

    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?

    Posted 2 years ago #
  4. 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://forums.themeshaper.com/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'=>'//'

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.