-
-
Save GarySwift/09ab897baa945777bf2c0c219d6f200e to your computer and use it in GitHub Desktop.
This registers a custom meta box for nav menus and renders it. Obviously $my_items would ideally be not hard-coded and instead it would come somewhere from the DB. The custom items add to the menu and save properly, but will probably not be displayed correctly. You might need to hook to the 'wp_setup_nav_menu_item' filter in order to fix the men…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment