Display custom taxonomies
-
Hi!
This might be a dumb question, but how can I display my custom taxonomies?
In the file where Tags and Categories Portfolio are display, I have:if($categories=get_the_term_list( get_the_ID(), 'portfolio_cat', '', ', ', '')) { $html .= '<div class="row categories"><strong>'.esc_attr__('Categories:', 'Twoot').'</strong>'.$categories.'</div>'; }
if($tags=get_the_term_list( get_the_ID(), 'portfolio_tag', '', ', ', '')) { $html .= '<div class="row tags"><strong>'.esc_attr__('Tags:', 'Twoot').'</strong>'.$tags.'</div>'; }
How can I add a custom taxonomie called “districts” for example?
I’ve been playing around for a while, but always getting fatal error 🙁Thank you in advance…!
Anne-Sophie
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Display custom taxonomies’ is closed to new replies.