Custom menu items in admin

admin2025-06-06  7

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.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749202581a317223.html

最新回复(0)