HEX
Server: Apache
System: Linux p3plzcpnl503801.prod.phx3.secureserver.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User: aqo14e2iyyd9 (9667755)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/aqo14e2iyyd9/public_html/wp-content/themes/real-estate-property/index.php
<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Real Estate Property
 */

get_header(); ?>

<section id="blog-content" class="section-padding">
    <div class="featured-img">
        <div class="post-thumbnail">
            <?php
            if ( has_post_thumbnail() ) :
                the_post_thumbnail();
            else :
                // Get custom fallback image set from the Customizer
                $real_estate_property_custom_fallback_img = get_theme_mod( 'real_estate_property_custom_fallback_img' );

                if ( ! empty( $real_estate_property_custom_fallback_img ) ) :
                    ?>
                    <img src="<?php echo esc_url( $real_estate_property_custom_fallback_img ); ?>">
                <?php else : ?>
                    <img src="<?php echo esc_url( get_template_directory_uri() . '/images/exist_img.jpg' ); ?>">
                <?php endif;
            endif;
            ?>
        </div>
        <div class="single-meta-box">
            <h2 class="my-3"><?php esc_html_e('Blog Page', 'real-estate-property'); ?></h2>
            <?php if ( get_theme_mod('real_estate_property_breadcrumb_setting',true) ) : ?>
              <div class="bread_crumb text-center">
                <?php real_estate_property_breadcrumb();  ?>
              </div>
            <?php endif; ?>
        </div>
    </div>
    <?php if (function_exists('custom_breadcrumbs')) custom_breadcrumbs(); ?>
    <div class="container">
        <div class="row">           
            <?php
                get_template_part( 'template-parts/layouts');
            ?>
        </div>  
    </div>
</section>

<?php get_footer(); ?>