Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$args = array(
'post_type' => 'morning_show'
);
$actors = new WP_Query($args);
if ( $actors->have_posts() ) : while ( $actors->have_posts() ) : $actors->the_post() :
the_field('actors');
endwhile; endif; wp_reset_postdata();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment