Home › Forums › ACF PRO › Several subsidiaries in the fields repeater › Reply To: Several subsidiaries in the fields repeater
I’m trying to bring in such a way
<?php if( have_rows('servise_price') ): ?>
<?php while( have_rows('servise_price') ): the_row();
// vars
$content = get_sub_field('servise_name');
$price = get_sub_field('serv_price');
?>
<?php echo $content; ?>
<?php echo $price; ?>
<?php endwhile; ?>
<?php endif; ?>
The result is not what you want
Screen
https://yadi.sk/i/Y3U1sZZzybrBo
Please help me
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.