WordPress.org

Ready to get started?Download WordPress

Forums

Simple Fields
Displaying multiple repeatable groups (1 post)

  1. Extelliqent
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.