@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
var
/
www
/
html
/
wp-content
/
themes
/
wpresidence
/
Path :
Upload File :
New :
File
Dir
/var/www/html/wp-content/themes/wpresidence/index.php
<?php // Index Page // Wp Estate Pack get_header(); if(isset( $post->ID)){ $post_id = $post->ID; }else{ $post_id = ''; } $wpestate_options = wpestate_page_details($post_id); $blog_unit = esc_html ( wpresidence_get_option('wp_estate_blog_unit','') ); ?> <div id="post" <?php post_class('row');?>> <?php get_template_part('templates/breadcrumbs'); ?> <div class=" col-xs-12 <?php print esc_html($wpestate_options['content_class']);?> "> <?php get_template_part('templates/ajax_container'); ?> <div class="single-content blog_list_wrapper"> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 0; $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'paged' => $paged, ); $blog_selection = new WP_Query($args); if($blog_selection->have_posts()){ while ($blog_selection->have_posts()): $blog_selection->the_post(); if($blog_unit=='list'){ include( locate_template('templates/blog_unit.php') ) ; }else{ include( locate_template('templates/blog_unit2.php') ) ; } endwhile; wp_reset_query(); }else{ print '<h3 class="noposts">'.esc_html__('There are no posts published!','wpresidence').'</h3>'; } ?> </div><!-- single content--> <?php wpestate_pagination($blog_selection->max_num_pages, $range = 2); ?> </div><!-- end 9col container--> <?php include get_theme_file_path('sidebar.php'); ?> </div> <?php get_footer(); ?>