Support

Account

Home Forums General Issues Custom field on category pages? Reply To: Custom field on category pages?

  • I’am not that good at coding, english & thinking ;), but try and error works.

     <?php 
    $queried_object = get_queried_object(); 
    $taxonomy = $queried_object->taxonomy;
    $term_id = $queried_object->term_id;  
    
    the_field('youracffield', $taxonomy . '_' . $term_id);
    	
    ?>

    does it.