Created
September 28, 2012 22:47
-
-
Save westonruter/3802459 to your computer and use it in GitHub Desktop.
Proof of concept for how to add new fields to nav_menu_item posts in the WordPress menu editor.
See @kucrut's fork https://gist.github.com/3804376
Hmm. I tried this snippet but it caused a PHP error. Trying the fork next....
If anyone here - how to add checkbox and/or select input ?
Not working for checkbox as it need checked attribute. Please update the code.
Hello, everyone. I created my own version of solving this issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's the result: