I am trying to:
Filter a view by a child post taxonomy
I visited this URL: hidden link
I expected to see:
The posts filtered by the child State and Discipline taxonomies on the child post type Approvals.
Instead, I got:
The posts are not displaying based on Approval State and Discipline taxonomies
In this case the view is displaying Products. Each product has several Approval child posts. Both the Products and the Approval post types use the taxonomies State and Discipline (but for 2 different purposes)
In this view I want the State and Discipline select fields to look into the Approval Child Post, not the Product itself
This is how I have setup the view's search (the slug of Approvals is "hceu-approval")
I would need to know what you want to achieve first. Because this would pose the same issue as the taxonomy because the parents wouldn't have the same custom field values or not have the custom fields attached to it.
Look at it like this, if you are displaying the parent posts then you can only filter for attributes of the Parent and not for the child.
Even thought the posts are related in Types, technically they are still separate Post Types.
Please let me know if this helps.
Thanks,
Shane
The topic ‘[Closed] Filter a view by child post taxonomy’ is closed to new replies.