Show all jobs from a certain category
Hi,
I am trying to show a list of categories from Job Categories, but it is returning invalid taxonomy.
My code is as follows
Code:
$terms = get_terms(APP_TAX_CAT, array('hide_empty' => 0));
foreach ($terms as $term) {
print_r($term);
}
I have tried replacing APP_TAX_CAT with 'job_cat' although this is the same value.
any ideas?