Dear Pods developers and community,
I have Custom Post Type with meta storage called “ubytovani” [accomodation] and “ubytovani-rooms” with table-based storage. In the former I have a relationship field of the latter, that I want to display in the order that is set in the admin UI by dragging.
I didn’t find a working way to do this. Don’t event know if it’s possible, but otherwise I would have to do a workaround using menu_order – adding order field for each item – which is really cumberstone when having a lot of items.
This is how I am querying the pods, using WP_Query, but tried multiple ways, including using pods built-in find() interface. Thank you!
$query = new WP_Query( array(
"post_type" => "ubytovani-rooms",
//"orderby" => "menu_order",
"meta_query" => array(
array(
"key" => "ubytovani",
"value" => $ID
)
)
) );The page I need help with: [log in to see the link]
