Custom Taxonomy ordering with PODS
-
So, me again trying to integrate into my wordpress workflow.
I’ve tried to configure the plugin along with PODS (I’m using it to create the custom taxonomies + custom post types). It works smoothly with custom post types, but I couldn’t make the new ordering work with custom taxonomies (categories and subcategories). I commented the line that usually ordered by term_id, but still keeps the same order. any tips on how to do it?
$pod_processos = pods(‘processos’);
$pod_processos_params = array(
‘where’ => ‘tt
.parent
= ‘. $cat_id,
//’orderby’=> ‘term_id ASC’
);$pod_processos->find($pod_processos_params);
while ( $pod_processos->fetch() ) :
echo $pod_processos->field(‘title’);
endwhile;Thanks,
- The topic ‘Custom Taxonomy ordering with PODS’ is closed to new replies.