Hello,
I am a complete newbie. The following code works except it only out puts the first row of the repeater field that has a post object. Any ideas?
Thank you!
<?php /* Template Name: ShowAllTracksTemplate */ ?>
<?php
$posts = get_posts(array(
‘posts_per_page’ => -1,
‘post_type’ => ‘track’
));
if( $posts ): ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>