Adding Select Field To the Loop
-
Hey,
I’m trying to add a single select field to the loop. Not sure how to do it.This is what I have. I know it’s wrong.
(BTW, Great plugin!!)
$fields = CFS()->get('resources'); foreach ($fields as $field) { ?> <?php .$values = CFS()->get('resource_type'); foreach ($values as $value => $label) { echo '<td>' . $value . '</td>'; } ?> <?php echo '<td><a href="'.$field['resource_link'].'">'.$field['resource_title'].'</a></td></tr>'; ?> <?php } ?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Adding Select Field To the Loop’ is closed to new replies.