admin管理员组

文章数量:1130349

I would like to add my own custom menu items to Appearance > Menus. How can this be done?

The best way to describe what I want to do:

I would like to add my own custom menu items to Appearance > Menus. How can this be done?

The best way to describe what I want to do:

Share Improve this question asked Nov 6, 2018 at 9:46 dodo254dodo254 1617 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Use the add_meta_box() function (working example), and use nav-menus for the post-type.

John Morris also wrote about this in 2013: How to Add a Fully Functional Custom Meta Box to WordPress Navigation Menus.

I would like to add my own custom menu items to Appearance > Menus. How can this be done?

The best way to describe what I want to do:

I would like to add my own custom menu items to Appearance > Menus. How can this be done?

The best way to describe what I want to do:

Share Improve this question asked Nov 6, 2018 at 9:46 dodo254dodo254 1617 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Use the add_meta_box() function (working example), and use nav-menus for the post-type.

John Morris also wrote about this in 2013: How to Add a Fully Functional Custom Meta Box to WordPress Navigation Menus.

本文标签: Custom menu items in admin