WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to add a checkbox to the menu item in WordPress backend that says "Make this a Mega Menu Container"? In my mind it should look something like this (Photoshop draft): enter image description here

And when the box is checked instead of adding another standard ul > li DOM element a div container is added instead?

I have no idea how to approach this. I was planning to use walker to change the DOM for the menu, but how to "activate" the walker only for some menus - in this case the menus that I choose by that checkbox to be the mega menu?

share|improve this question
So your first question is how to identify specific menu, which depends on how do you imagine this bit of custom data will be stored? – Rarst Jan 17 '14 at 21:36
up vote 0 down vote accepted

OK this one is solved. I actually created a separate items that can be dragged in as a link, but are actually hard coded pieces of markup with adequate classes.

share|improve this answer

Your Answer


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.