Show Taxonomy Post Term Name
-
Hi everyone, hope you can give me a guide on this:
I’m trying to retrieve The Term Name in which the post is located
I only need the name of the term because I want to use it as a class , I’mean:
<section class="content"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <article class="article"> <div class="jewel_small <strong><?php //get_term_name????() ?></strong>"> <?php the_jewel(); ?> </div> </article> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?> </section>
How can I do this?
thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Show Taxonomy Post Term Name’ is closed to new replies.