skip to Main Content

Can I get a custom field from a WordPress term?

I've made a simple loop over a custom taxonomy 'product_category': $args = array('hide_empty' => false, 'orderby' => 'term_group', 'parent' => false); $terms = get_terms('product_categorie', $args); foreach ($terms as $term) { echo "<a href=''>".$term->name."</a>"; } I've added a custom field 'webshop_url'…

VIEW QUESTION
Back To Top
Search