Support

Account

Home Forums General Issues Displaying ACF Relationship Field in Template Reply To: Displaying ACF Relationship Field in Template

  • Hi @labedzde

    To show the featured image, I believe you can use the the_post_thumbnail() function. It should be something like this:

    <li>
        <?php the_post_thumbnail(); ?>
        <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
        <span>Custom field from $post: <?php the_field('author'); ?></span>
    </li>

    Could you please share the full code here: https://gist.github.com/? Also, could you please share some screenshots of the result and let me know how you want it to be? If you can share the live URL, that would be great too!

    Thanks 🙂