My field:

My failed codes I tried to put on archive.php:
1.
<?php the_field('mytermcustom'); ?>
2.
<?php
$mytermcustom = get_field('mytermcustom');
echo $mytermcustom;
?>
3.
<?php the_field('mytermcustom', $term); ?>
Please help me with that…
Thank you, Oded.
Hi @oded050 ,
Thanks for contacting us.
The the_field function will need the second parameter to be formated as it is in this article herein
https://www.advancedcustomfields.com/resources/get-values-from-a-taxonomy-term/
If the issue is still persistent, kindly share with us an export of your field group so that I may test in on my end too.
Hope this helps.