HEX
Server: Apache
System: Linux 65-254-81-60.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
User: roshanchandy (1003)
PHP: 8.4.12
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/roshanchandy/public_html/dubai91.com/maps/wp-content/themes/realhomes/archive-agent.php
<?php
/**
 * Agent Archive
 *
 * @package realhomes
 */

get_header();
// global option for archive Elementor template
$realhomes_elementor_property_archive_template = get_option( 'realhomes_elementor_agent_archive_template', 'default' );
if ( class_exists( 'RHEA_Elementor_Archive' ) && ( 'default' !== $realhomes_elementor_property_archive_template ) ) {
	do_action( 'realhomes_elementor_agent_archive_template' );
} else {
	?>
    <div class="rh-page-container container">
        <div class="row">
            <div class="col-8 main-content">
				<?php
				get_template_part( 'assets/ultra/partials/page-head' );

				// Display any contents after the page head and before the contents.
				do_action( 'inspiry_before_page_contents' );
				?>
                <main id="main" class="rh-main main">
					<?php
					if ( have_posts() ) {
						while ( have_posts() ) {
							the_post();

							get_template_part( 'assets/ultra/partials/agent/card' );
						}

						inspiry_theme_pagination();
					} else {
						realhomes_print_no_result();
					}
					?>
                </main>
            </div>
			<?php
			if ( is_active_sidebar( 'agent-sidebar' ) ) {
				?>
                <div class="col-4 sidebar-content">
					<?php get_sidebar( 'agent' ); ?>
                </div>
				<?php
			}
			?>
        </div>
    </div><!-- .rh-page-container -->
	<?php
}
get_footer();