'; do_action( 'upstudy_before_content' ); if ( have_posts() ) { echo '
'; while ( have_posts() ) : the_post(); if ( $upstudy_archive_events_style !== '4' ) { echo '
'; wpems_get_template_part( 'layout', esc_attr( $upstudy_archive_events_style ) ); echo '
'; } if ( $upstudy_archive_events_style === '4' ) { echo '
'; wpems_get_template_part( 'layout', esc_attr( $upstudy_archive_events_style ) ); echo '
'; } endwhile; wp_reset_postdata(); echo '
'; upstudy_numeric_pagination(); }else { _e( 'No Event Found.', 'upstudy' ); }; do_action( 'upstudy_after_content' ); echo ''; get_footer();