Home › Forums › Front-end Issues › beginner question (acf dont show on frontpage) › Reply To: beginner question (acf dont show on frontpage)
Hi @royroy2
It depends on where you assign the custom fields (location rules).
If you set it to a post/page, then you need to pass that post/page ID to the have_rows()
function like this:
<?php if( have_rows('repeater_slides', 99) ): ?>
<?php while( have_rows('repeater_slides', 99) ): the_row(); ?>
Where “99” is the post/page ID.
Also, could you please share the JSON export file of your field group so I can check your setup?
Thanks 🙂
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.