Sindbad~EG File Manager
<?php
/**
* Archive Main File.
*
* @package deeds
* @author Webinane
* @version 1.0
*/
get_header();
global $wp_query;
$data = \deeds\Includes\Classes\Common::instance()->data( 'archive' )->get();
$class = ( $data->get( 'layout' ) != 'full' ) ? 'col-xs-12 col-sm-12 col-md-12 col-lg-8' : 'col-xs-12 col-sm-12 col-md-12';
if ( class_exists( '\Elementor\Plugin' ) AND $data->get( 'tpl-type' ) == 'e' AND $data->get( 'tpl-elementor' ) ) {
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $data->get( 'tpl-elementor' ) );
} else {
do_action( 'deeds_banner', $data );
?>
<section>
<div class="gap">
<div class="container">
<div class="row blog-page">
<?php
if ( $data->get( 'layout' ) == 'left' ) {
do_action( 'deeds_sidebar', $data );
}
?>
<div class="<?php echo esc_attr( $class ); ?>">
<?php
while ( have_posts() ) :
the_post();
deeds_template_load( 'templates/blog/blog.php', compact( 'data' ) );
endwhile;
wp_reset_postdata();
deeds_the_pagination( $wp_query->max_num_pages );
?>
</div>
<?php
if ( $data->get( 'layout' ) == 'right' ) {
do_action( 'deeds_sidebar', $data );
}
?>
</div>
</div>
</div>
</section>
<?php
}
get_footer();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists