Front-end Editor
Automatically set post ancestor term when descendent is selected from dro (1 post)

  1. cabaj
    Posted 4 years ago #

    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.

    Any suggestions?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Front-end Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic