Custom taxonomies terms as unordered list li classes
-
Hello,
I have a custom post type with 3 custom taxonomies “alpha”, “beta” and “gamma”.
I need to outuput the terms belonging to each taxonomy as classes for an unordered list.
I mean<ul> <li class="alpha's term(s) beta's term(s) gamma's therm(s)">lorem ipsum</li> <li class="alpha's term(s) beta's term(s) gamma's therm(s)">lorem ipsum</li> <li class="alpha's term(s) beta's term(s) gamma's therm(s)">lorem ipsum</li> </ul>
Is there a quick way to do it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom taxonomies terms as unordered list li classes’ is closed to new replies.