<?php $args = array(
'post_type' => 'espresso_events',
'posts_per_page' => 50
/// more arguments here
); ?>
<?php $loop = new WP_Query( $args ); ?>
<?php while($loop->have_posts()): $loop->the_post(); ?>
//your code here
<?php endwhile; ?>
Viewing 4 reply threads
The support post ‘Creating Custom loop based on start dates?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.