Home › Forums › Front-end Issues › Display custom fields of on page with several posts › Reply To: Display custom fields of on page with several posts
Hi @anselme
Your loop is fine, have you done any debugging?
Have you tested this:
<?php
echo '<pre>';
print_r(get_field('miniature-2'););
echo '</pre>';
die;
?>
Are you 100% sure that ‘miniature-2’ is the correct field name? not ‘miniature_2’?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.