Forums

add_theme_support('menus') (5 posts)

  1. Robert Cordes
    Member
    Posted 1 year ago #

    Hi,

    I've just found out that in RC3 you have to use add_theme_support('menus') instead of add_theme_support('nav-menus') to support custom menus in your theme.

    I just wanted to know which version I'll have to use in the final release.

    Regards,
    Robert

  2. Robert Cordes
    Member
    Posted 1 year ago #

    I also noticed that custom post types don't show up in the menu-editor anymore. How can I fix that?

  3. Robert Cordes
    Member
    Posted 1 year ago #

    Can anyone help me with this?

  4. Robert Cordes
    Member
    Posted 1 year ago #

    Ok, I'm stupid ;) Just found out how to show custom post types in the menu editor ... but I'm still wondering which one I have to use with the final release of wordpress 3.0:
    add_theme_support('menus') or ...('nav-menus')?

  5. summerchilde
    Member
    Posted 1 year ago #

    add_theme_support( 'menus' ); is what you want.

Topic Closed

This topic has been closed to new replies.

About this Topic