get_query(); // Remove filter to prevent breaking other modules remove_filter( 'fl_builder_loop_query_args', array( $module, 'remove_pagination_args' ), 10 ); // Render the posts. if ( $query->have_posts() ) : ?>
>
have_posts() ) { $query->the_post(); ob_start(); include apply_filters( 'fl_builder_posts_slider_layout_path', $module->dir . 'includes/post-loop.php', $settings, $module ); // Do shortcodes here so they are parsed in context of the current post. echo do_shortcode( ob_get_clean() ); } ?>
navigation && $query->have_posts() ) : ?>