Support » Plugin: Custom Field Suite » How to use select fields in loops?

  • $fields = CFS()->get( 'gallery' );
    foreach ( $fields as $field ) {
    $values = CFS()->get( 'my_select' );
    foreach ( $values as $key => $label ) {
        echo $label;
    } }

    is not working.
    How I can use it in my template? What I should write in a loop?

  • The topic ‘How to use select fields in loops?’ is closed to new replies.