Support » Plugin: Simple Fields » Displaying multiple repeatable groups

  • Hi everyone,

    I put together this code to be able to post these fields on the page. Is there any better way of doing what I am doing here?

    Thank you!

    `$field_group_values = simple_fields_fieldgroup(“testimonials”);
    $i=”0″;
    while (isset($field_group_values[$i])) {
    print_r($field_group_values[$i][testimonials_name]);
    echo “<br />”;
    echo “<br />”;
    print_r($field_group_values[$i][testimonials_date][date_format]);
    echo “<br />”;
    echo “<br />”;
    print_r($field_group_values[$i][testimonials_text]);
    echo “<br />”;
    echo “<br /><hr />”;
    $i++;
    }`

    http://wordpress.org/extend/plugins/simple-fields/

  • The topic ‘Displaying multiple repeatable groups’ is closed to new replies.