Hi-
I am trying to display additional fields on a custom taxonomy page (similar to a category page). I have a custom taxonomy called Product Categories. I created a field group where
Taxonomy Term is equal to Product Categories
and added one text field, product_category_display_title.
on my template (taxonomy-product-category.php), I am using the following code to display it:
<?php the_field('product_category_display_title'); ?>
but nothing shows up. At this point in the template, I do not have any posts; the field should show up above the list of posts.
I’m very new to wordpress, so I’m not sure if I’m using this tool correctly or not 🙂
I have the same problem. Im just add new field in category with name “newtext” and using the following code to display in index.php file
<p><?php the_field('newtext'); ?></p>
and nothing shows up. May be anybody can help?
Hey guys.
Be sure to read over the documentation prior to posting a new topic:
Here you will find a tutorial covering how to load from a taxonomy term:
http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-taxonomy-term/
Thanks
E
This reply has been marked as private.