pods
pods copied to clipboard
"Add new" not working for taxonomy relationship field
Describe the bug See https://wordpress.org/support/topic/add-new-button-not-showing/
To Reproduce Steps to reproduce the behavior:
- Create a new taxonomy Pod
- Create a second Pod (anything)
- Add relationship field to the taxonomy Pod
- Make sure add new is allowed (field options)
- No add new button :(
This shouldn't work, honestly. I don't think the ADD Term in Taxonomy Object is available to be called in that way (take a look at the current Taxonomy screen in WordPress). We'd have to either roll our own edit or some other method.
Ah right, that sounds logical. Even though I'd say this should still be relatively simple to add such functionality. Or at least similar functionality as WP offers (name and parent only)
Well, it should work if you can add term.php
into the Modal which is the Edit Term form. I don't know if that's the Add Term window, though. edit_tags.php is the one that is shown for Add New. If you can turn off the 'terms' list on right when it's in the modal, that should work.
Primarily because if we add term meta, we need to handle ALL of it, not just the first two ;)
Currently the modal popup is the FULL admin page where Phil has just hidden the menu bars on the top and left side... Why wouldn't it be possible to do the same with terms?
And even if we just enable name and parent.. That is the same as WordPress does within post edit pages. Seems sufficient IMO. For more in depth editing users will go to the actual term-edit pages.