Home › Forums › General Issues › Taxonomy Term Field in Categories › Reply To: Taxonomy Term Field in Categories
Does this work:
<div class="postinner-h1">
<h1><?php echo single_cat_title(); ?> günstig online kaufen!</h1>
<?php
$term = get_queried_object();
if ( $term ):
?>
<p><?php echo get_field( 'short_description', $term->taxonomy . '_' . $term->term_id ); ?>
<?php endif; ?>
</div></div>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.