I made a repeater field in my option pages using ACF but i can't get the value inside it :
_basefooter.twig
{% for item in options.get_field('footer_link') %}
<a href="{{item.link}}">{{item.link_title}}</a>
{% endfor %}
{{ dump(options) }}
array(1) {
["footer_link"]=>
array(2) {
[0]=>
array(2) {
["link_title"]=>
string(17) "Mentions légales"
["link"]=>
string(38) "//localhost:3000/mentions-legales"
}
[1]=>
array(2) {
["link_title"]=>
string(29) "Politique de confidentialité"
["link"]=>
string(50) "//localhost:3000/politique-de-confidentialite"
}
}
}
Anyone knows where is the problem ?