Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a way to add custom menu type to the menu editor? I know I can add items dynamically with the wp_get_nav_menu_items filter, but I would like to have the position of those items configurable.

share|improve this question

1 Answer 1

I decided for now, I will use a custom css class and detect it in a wp_get_nav_menu_items filter. From there, I can get the data I need to set the URL.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.