HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: /volume1/web/wp-content/themes/virtue/archive.php
<?php
global $virtue, $virtue_sidebar;
if ( isset( $virtue[ 'blog_archive_full' ] ) && 'full' === $virtue[ 'blog_archive_full' ] ) {
	$summery    = 'full';
	$postclass  = 'single-article fullpost';
} else {
	$summery 	= 'normal';
	$postclass 	= 'postlist';
}
	$virtue_sidebar = true;
	/**
	* @hooked virtue_page_title - 20
	*/
	do_action( 'virtue_page_title_container' );
	?>

<div id="content" class="container">
	<div class="row">
		<div class="main <?php echo esc_attr( virtue_main_class() ); ?>  <?php echo esc_attr( $postclass );?>" role="main">

		<?php if ( ! have_posts() ) : ?>
			<div class="alert">
				<?php esc_html_e( 'Sorry, no results were found.', 'virtue' ); ?>
			</div>
			<?php get_search_form();
		endif;

		if( 'full' === $summery ) {
			while ( have_posts()) : the_post();
				get_template_part( 'templates/content', 'fullpost' );
			endwhile;
		} else {
			while (have_posts()) : the_post(); 
				get_template_part( 'templates/content', get_post_format() );
			endwhile;
		}

		/**
		* @hooked virtue_pagination - 10
		*/
		do_action( 'virtue_pagination' );
		?>

		</div><!-- /.main -->