List customy taxonomy terms associated with current post.
-
Maybe I’m missing something. I truly apologize if this is been resolved before, but I could not find the solution.
I want to list the terms for my custom taxonomy associated with each post. Currently I’m using:
<?php echo $terms = get_the_term_list( $post->ID, 'skills'); ?>
which works great, but the items are in a string. How can I put each term into a list item
… I tried the
foreach
but returns an invalid argument.Can anyone help shed some light? Thanks so much in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘List customy taxonomy terms associated with current post.’ is closed to new replies.