HEX
Server: Apache
System: Linux host35.server.ae 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: nokatech (2100)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nokatech/public_html/wp-content/themes/consultox/archive.php
<?php
/**
 * Archive Main File.
 */
get_header();
global $wp_query;
$data  = \CONSULTOX\Includes\Classes\Common::instance()->data( 'archive' )->get();

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 {
?>

<?php if (!$data->get( 'enable_banner' ) ) : ?>
<?php if ( $data->get( 'banner' ) ) : ?>
	<section class="mr_page_title archive_page_title page-title" style="background-image: url(<?php echo esc_url( $data->get( 'banner' ) ); ?>);">
	<?php else : ?>	
	<section class="mr_page_title archive_page_title page-title" >
	<?php endif; ?>
            <div class="auto-container">
                <div class="content-box">
				<?php if( !$options->get( 'archive_page_title' ) ):?> 		
                    <h1 class="mr_banner_title"><?php if( $data->get( 'title' ) ) echo wp_kses( $data->get( 'title' ), true ); else( wp_title( '' ) ); ?></h1>
					<?php endif; ?>	
				 <?php if( !$options->get( 'archive_bread' ) ):?> 	
					<ul class="mr_bread_list">
                       	<?php echo consultox_the_breadcrumb(); ?>
                    </ul>
					<?php endif; ?>	
                </div>
            </div>
        </section>
<?php endif; 
}		?>		

<div class="mr_page_archive">	
<?php consultox_template_load( 'templates/mrcontent.php', compact( 'options', 'data' ) ); ?>	
</div>	
	
<?php

get_footer();