How to get 2 values at the time in repeater
-
Hi
Sorry if this sound stupid! ??
this is my code now
<?php foreach( get_uf_repeater( 'clients' ) as $document_files ): extract( $document_files ) ?> <div class="ui-grid-a my-breakpoint"> <div class="ui-block-a"><a href="<?PHP echo $website_url ?>" target="_blank"><img src="<?php echo $project_image ?>" title="Project image" /><div><?php echo $project_detailes ?></div></a></div> <div class="ui-block-b"><a href="<?PHP echo $website_url ?>" target="_blank"><img src="<?php echo $project_image ?>" title="Project image" /><div><?php echo $project_detailes ?></div></a></div> </div> <?php endforeach ?>
What I need to do is, to have the second line with second value in the array instead of repeating the first one
I tired to make the loop nested didn’t make it to work
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to get 2 values at the time in repeater’ is closed to new replies.