In H3 tag i used 47 – number footer page and field work. What do i need to do for <li>
?
https://sandbox.onlinephpfunctions.com/code/f0a0cb160a50430512e735865252f2c4c3d15431
<div class="col">
<?php
$footer = get_field('footer', 47);
if( $footer ): ?>
<h3><?php echo $footer['col-footer']['col-footer-h3'];?></h3>
<?php endif; ?>
<?php if( have_rows('col-footer-ul-li', 47) ): ?>
<ul class="social">
<?php while( have_rows('col-footer-ul-li', 47) ): the_row(); ?>
<li><a href="<?php the_sub_field('col-footer-href'); ?>"><p><?php the_sub_field('col-footer-ul-li-p'); ?></p></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</div>