I have added a new CPT with CMB2 that allows the user to link 2 posts together. So you end up with the linked post ID in the primary post meta. When retrieving the column, I am displaying the title of the linked post. But, how can I sort by this extrapolation? Currently I can sort it by meta_value_num because at query time the data is the linked post ID.
I have added a new CPT with CMB2 that allows the user to link 2 posts together. So you end up with the linked post ID in the primary post meta. When retrieving the column, I am displaying the title of the linked post. But, how can I sort by this extrapolation? Currently I can sort it by
meta_value_num
because at query time the data is the linked post ID.Thank you!