wp-posts-to-posts icon indicating copy to clipboard operation
wp-posts-to-posts copied to clipboard

Question about deeply nested post types

Open swthate opened this issue 9 years ago • 0 comments

I haven't tried this plugin yet, but it looks like it might do what I'm looking for.

I have a few custom post types: Locations -> Towns -> Counties -> States.

The relationships going left to right are has-one, and going right to left are has-many. So, one Location belongs to one Town, however, one Town can have many Locations.

What I'm really trying to do, is get away without having to save information about what State a given Location belongs to in that certain Location post. If I have a Location, I want to infer data about its County and State based on what its immediate parent (Town) is. Does that make sense? Am I able to do that with this plugin?

Thank you so much!

swthate avatar Aug 05 '15 16:08 swthate