• Resolved tlt

    (@tlt)


    Hi

    I’m trying to use Repeater in visual mode and to access fields through code as the video tutorial and according to documentation examples but it doesn’t work.

    The have_groups() funtion doen’t seem to work ??

    Is there another example of use besides the example on github?

    Thanks in advance

    • This topic was modified 6 years, 1 month ago by tlt.
    • This topic was modified 6 years, 1 month ago by tlt.
Viewing 1 replies (of 1 total)
  • Thread Starter tlt

    (@tlt)

    Finally, I had to specify the location parameter (the second parameter) of have_groups() function like this:

    <?php while( have_groups( 'repeater', 'options' ) ): the_group() ?>
    ....
    <?php endwhile; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to access Repeater fields through code’ is closed to new replies.