Support

Account

Home Forums ACF PRO Can't get link field in taxonomy-studio.php Reply To: Can't get link field in taxonomy-studio.php

  • this code is working.
    Thanks.

    
                <?php 
                $term = get_queried_object();
                $website = get_field('website', $term);
                ?>
                <?php if( $website ): ?>
                <a target="_blank" href="<?php echo $website['url']; ?>"><span><i class="si-globe"></i></span></a>
                <?php endif; ?>