Hi All,
I have a post object field attached to a custom post type called A. The post object refers to a post type B which has a date field.
I am doing a wp_query on A but order the query by B’s date field.
Any suggestions for that?
You cannot do this. In order to order posts by anything that data must be attached to the posts you want to order.
Okay. I get it. Thank You.