Reputation: 41
So the case is I have a event-pod and a newsitem-pod. I would like to query them so i have a combined list of pods of type event/newsitem:
$params = array(
'orderby' => 't.name DESC'
);
//i know 'events + news' is not correct notation, but it's to give the idea :)
$mypod = pods( events + news, $params );
the reason why i want them trough the 'pods' api is, so i can handle the media items like i would with every other pod.
Thanks in advance
Upvotes: 0
Views: 251