Big fixes

This commit is contained in:
Hoang Huu
2020-05-04 15:53:09 +07:00
parent 453e78da8b
commit b4db533574
24 changed files with 4837 additions and 4697 deletions

View File

@@ -3,7 +3,7 @@
<?php do_action( 'opalestate_user_dashboard_before' ); ?>
<?php
$statistics = new OpalEstate_User_Statistics();
$statistics = new OpalEstate_User_Statistics();
$properties_count = [];
$properties_count[] = [
@@ -52,7 +52,7 @@
<div class="col-lg-12 col-md-12">
<div class="card-item inner">
<div class="heading"><i class="fa fa-comment"></i> <span><?php esc_html_e( 'Latest review' ) ?></span>
<div class="heading"><i class="fa fa-comment"></i> <span><?php esc_html_e( 'Latest review', 'opalestate-pro' ); ?></span>
<a href="<?php echo esc_url( opalestate_get_user_management_page_uri() . '?tab=reviews' ); ?>" class="dash-view-all"><?php esc_html_e( 'View All', 'opalestate-pro' );
?></a>
</div>

View File

@@ -1,29 +1,29 @@
<?php if( $loop->have_posts() ): ?>
<div class="property-listing my-favorite">
<div class="box-content">
<div class="opalestate-rows">
<div class="opalestate-rows">
<div class="<?php echo apply_filters('opalestate_row_container_class', 'opal-row');?>">
<?php $cnt=0; while ( $loop->have_posts() ) : $loop->the_post(); global $post; ?>
<div class="col-lg-4 col-md-4">
<?php echo opalestate_load_template_path( 'content-property-grid' ); ?>
</div>
<?php endwhile; ?>
</div>
</div>
</div>
<?php opalestate_pagination( $loop->max_num_pages ); ?>
</div>
</div>
</div>
<?php else : ?>
<div class="opalestate-box">
<div class="opalestate-box">
<div class="box-content">
<div class="opalestate-message">
<h3>No Item In Favorite</h3>
<h3><?php esc_html_e( 'No item in your favorite', 'opalestate-pro' ) ;?></h3>
<p><?php esc_html_e( 'You have not added any property as favorite.', 'opalestate-pro' ) ;?></p>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php wp_reset_postdata(); ?>
<?php wp_reset_postdata(); ?>