[wp-hackers] Parent/child relationship between two different hierarchical CPTs
mikeschinkel at newclarity.net
Fri Nov 4 03:17:21 UTC 2011
On Nov 3, 2011, at 11:11 PM, Matthew McGarity wrote:
> Using the post_parent field, can you have a parent/child relationship
> between two different hierarchical CPTs?
> For example, let's say I have two CPTs, whose permalinks might look
> something like the following when non-related to one another:
> Parks -- http://example.com/parks/yosemite/
> Features -- http//example.com/features/half-dome/
> When related, could you have a URL like the following?
> In practice, this doesn't work on our test site, although I believe our
> register_post_type() call is correct and we have these properly related via
> the post_parent field.
When you say "we have these properly related via the post_parent field", what did you do to handle that? (I ask so we can answer your question.)
More information about the wp-hackers