• Resolved fugamma

    (@fugamma)


    Is there any issue with this plugin working with existing custom post types? I have a CPT called ‘videos’ with 3 categories available per post. I created a relationship field that I want to allow me to update the sort order of each category.

    I have a relationship field for each category. So basically relationship field 1 will pull any post of ‘video that case category “technical.”relationship field 2 will do the same but for a different category and so on. Each post for that CPT has all three relationship fields displaying so the user can have a visual sort process at all times.

    If I update one of the relationship tables, then go to a different video post, that respective relationship table is not updating as well. Do I need to have your plugin added first, then create a new set of CPT after? Not sure why else it may not work.

    The relationship field is created at top level in custom fields, and is set to display on any post type of Video. No minimum or maximum set and it is using Post Object for return format.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Huebner

    (@hube2)

    If I understand you correctly, you have the relationship field on a term/taxonomy. This plugin only works when the relationship field are post on a post and does not work to create a two way relationship between a term and a post.

    Thread Starter fugamma

    (@fugamma)

    yes. the relationship field is based on a CPT with taxonomy/term of ‘technical’. So the relationship field would appear on each individual post in the CPT list.

    We are trying to get this type of relationship to work, because we need a method to apply a second filter for the Isotope query as the client wants to have different sort orders per taxonomy. And one video belongs to many categories.

    Thanks for the quick reply, much appreciated! Bummer this won’t work, the search for solution continues!!

    Plugin Author John Huebner

    (@hube2)

    After re-reading your op and then reading the second, I think I might be a little lost. If the field is on just posts then it will work, but that’s the only case. Also, this plugin only works with ACF5, which is currently only available in premium and will not work with ACF4. I just tested, just to make sure, and it is working.

    You might want to give a look at how this plugin works as well as the ACF documentation on doing a similar thing. It would be possible to create a two way relationship between a taxonomy field and a relationship field or a post object field or a user field. It’s just that it would need to be coded for the specific fields that your interested in creating the two way relationship for.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘relationship fields not being recognized bidirectionally’ is closed to new replies.