I’m using frontend editor to allow users to edit their own posts from the front-end.
They can edit a ‘location’ taxonomy that includes hierarchical terms like so:
These terms are editable via a termselect (dropdown menu) and everything works as expected, except that when a user chooses a city term and saves, only the city term is assigned to the post, not the state or country.
I need for the respective parent and grandparent terms to be set when the grandchild is set.
The closest I’ve come to success is through this method . But that only works when the post is saved from the back end. I need something that works from the front end.
- The topic ‘[Plugin: Front-end Editor] Automatically set post ancestor term when descendent is selected from dro’ is closed to new replies.