Support

Account

Home Forums ACF PRO displaying a custom field in category… Reply To: displaying a custom field in category…

  • Sorry, as soon as I posted this I figured it out!

    This is the code I used…

    <?php
    $queried_object = get_queried_object();
    $taxonomy = $queried_object->taxonomy;
    $term_id = $queried_object->term_id;

    the_field(‘previous_issue_link’, $taxonomy . ‘_’ . $term_id);

    ?>

    Incase it helps anyone else in the future 🙂
    Thanks
    Aaron