Timeline for How to create Parent-Child relation for custom fields?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 31, 2012 at 11:35 | vote | accept | dev-jim | ||
Mar 30, 2012 at 19:41 | comment | added | Tom J Nowell♦ | Use a manual metabox for fields like this dropdown, and use your plugin for everything else | |
Mar 30, 2012 at 19:41 | comment | added | Tom J Nowell♦ | You don't have to use the plugin for all of your fields, and vice versa, you can do both | |
Mar 30, 2012 at 16:47 | comment | added | dev-jim | Thanks Tom for such quick reply. Yes, I know it's better to use metaboxes. However, I need to create a lot of custom fields. It would be easier to use a plugin to generate those fields. My idea is using jquery to control the options. Since the dropdown options only accept one set of values, so I have to manually create other values list (in themes function.php) like the example you gave, and using jquery to override old valuse. I don't know this method will work or not, please give advice. | |
Mar 30, 2012 at 16:03 | history | answered | Tom J Nowell♦ | CC BY-SA 3.0 |