• Resolved Slobodan Manic

    (@slobodanmanic)


    Hi,

    I added theme options page (titled MyTheme) using add_menu_page function, then submenu with add_submenu_page (titled Documentation) and it all works fine. However, when I look at this new menu i created, i see this:

    MyTheme (title of admin menu)
    – MyTheme (appearing again, with same link, although it wasn’t added)
    – Documentation (submenu item I added)

    Is there a way to change text for ‘MyTheme’ submenu item so it’s not the same as the one above it?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate menu item with add_menu_page and add_submenu_page’ is closed to new replies.