<?php
/**
 *  One and Other view file
 *
 * This template can be overridden by copying it to yourtheme/smart-post-show-pro/templates/block.php
 *
 * @package    Smart_Post_Show_Pro
 * @subpackage Smart_Post_Show_Pro/public/template
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div id="pcp_wrapper-<?php echo esc_attr( $smart_show_id ); ?>" class="<?php self::pcp_wrapper_classes( $layout_preset, $smart_show_id, $pagination_type, $item_same_height_class ); ?>" data-sid="<?php echo esc_attr( $smart_show_id ); ?>" <?php self::wrapper_data( $pagination_type, $pagination_type_mobile, $smart_show_id ); ?> data-lang="<?php echo esc_attr( $spsp_lang ); ?>" data-current_post_id="<?php the_ID(); ?>">
	<?php
	SP_PCP_HTML::pcp_section_title( $section_title, $show_section_title );
	SP_PCP_HTML::pcp_preloader( $show_preloader );
	?>
<?php require SP_PCP_Functions::pcp_locate_template( 'filter-bar.php' ); ?>
	<div class="sp-pcp-row">
		<?php self::pcp_get_posts( $options, $layout, $post_content_sorter, $pcp_query, $smart_show_id ); ?>
	</div>
<?php require SP_PCP_Functions::pcp_locate_template( 'pagination.php' ); ?>
</div>
