• File: archive.php
  • Full Path: /home/mannonia/www/wp-content/themes/mannoniavocat/archive.php
  • File size: 723 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Archive pages.
 *
 * @package The7
 * @since 1.0.0
 */

// File Security Check
if ( ! defined( 'ABSPATH' ) ) { exit; }

$config = presscore_config();
$config->set( 'template', 'archive' );
$config->set( 'layout', 'masonry' );
$config->set( 'template.layout.type', 'masonry' );

get_header();
?>
			<!-- Content -->
			<div id="content" class="content" role="main">

				<?php
				the_archive_description( '<div class="taxonomy-description">', '</div>' );

				if ( have_posts() ) {
					the7_archive_loop();
                } else {
					get_template_part( 'no-results', 'search' );
                }
				?>

			</div><!-- #content -->

			<?php do_action( 'presscore_after_content' ) ?>

<?php get_footer() ?>