PHP and categories
-
Hi there, I have a pod set up called locomotive_class. Each locomotive_class record has a single engineer that has been set up with a custom taxonomy – in this case a category called Engineers.
I’m using the following to fetch the list.
$params = array(‘orderby’ => ‘year_from’,);
$mypod = pods( ‘locomotive_class’, $params );
while ( $mypod->fetch() ){}Can you tell me how I’d also pick up that custom engineer category so I can display that along with the locomotive record?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP and categories’ is closed to new replies.