Skip to content

Commit

Permalink
THEME-97: old listing widget > fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
luzinama committed Mar 19, 2021
1 parent 71c023d commit 6d58a6c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 36 deletions.
7 changes: 1 addition & 6 deletions tourware-resources/layouts/travel/listing/layout-1.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
<div class="tour-head">
<?php echo $price_html; ?>
<a href="<?php the_permalink(); ?>" class="tour-image">
<img <?php if ($settings['layout'] !== 'carousel') { ?>
class="lazyload"
<?php } else { ?>
class="tns-lazy tns-lazy-img"
<?php } ?>
data-src="<?php echo $img_src ?>"
<img src="<?php echo $img_src ?>"
alt="<?php esc_html_e($title) ?>">
</a>
<?php echo $badge_html ?>
Expand Down
7 changes: 1 addition & 6 deletions tourware-resources/layouts/travel/listing/layout-2.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@
<div class="tour-head">
<?php echo $badge_html ?>
<a href="<?php the_permalink(); ?>" class="tour-image">
<img <?php if ($settings['layout'] !== 'carousel') { ?>
class="lazyload"
<?php } else { ?>
class="tns-lazy tns-lazy-img"
<?php } ?>
data-src="<?php echo $img_src ?>"
<img src="<?php echo $img_src ?>"
alt="<?php esc_html_e($title) ?>">
</a>
</div>
Expand Down
7 changes: 1 addition & 6 deletions tourware-resources/layouts/travel/listing/layout-3.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
<div class="tour-head">
<a class="tour-image" href="<?php the_permalink() ?>">
<div class="image-holder">
<img <?php if ($settings['layout'] !== 'carousel') { ?>
class="lazyload"
<?php } else { ?>
class="tns-lazy tns-lazy-img"
<?php } ?>
data-src="<?php echo $img_src ?>"
<img src="<?php echo $img_src ?>"
alt="<?php esc_html_e($title) ?>">
<?php echo $badge_html ?>
</div>
Expand Down
7 changes: 1 addition & 6 deletions tourware-resources/layouts/travel/listing/layout-4.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@
<?php /*HEAD*/ ?>
<div class="tour-head">
<a href="<?php the_permalink(); ?>" class="tour-image">
<img <?php if ($settings['layout'] !== 'carousel') { ?>
class="lazyload"
<?php } else { ?>
class="tns-lazy tns-lazy-img"
<?php } ?>
data-src="<?php echo $img_src ?>"
<img src="<?php echo $img_src ?>"
alt="<?php esc_html_e($title) ?>">
</a>
</div>
Expand Down
7 changes: 1 addition & 6 deletions tourware-resources/layouts/travel/listing/layout-5.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
<div class="tour-item">
<div class="tour-head item-image-holder">
<a href="<?php the_permalink() ?>" class="tour-image">
<img <?php if ($settings['layout'] !== 'carousel') { ?>
class="lazyload"
<?php } else { ?>
class="tns-lazy tns-lazy-img"
<?php } ?>
data-src="<?php echo $img_src ?>"
<img src="<?php echo $img_src ?>"
alt="<?php esc_html_e($title) ?>">
</a>
<?php echo $badge_html ?>
Expand Down
7 changes: 1 addition & 6 deletions tourware-resources/layouts/travel/listing/layout-6.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@
<div class="tour-head">
<?php echo $badge_html ?>
<a href="<?php the_permalink(); ?>" class="tour-image">
<img <?php if ($settings['layout'] !== 'carousel') { ?>
class="lazyload"
<?php } else { ?>
class="tns-lazy tns-lazy-img"
<?php } ?>
data-src="<?php echo $img_src ?>"
<img src="<?php echo $img_src ?>"
alt="<?php esc_html_e($title) ?>">
</a>
<?php if ($days) { ?>
Expand Down

0 comments on commit 6d58a6c

Please sign in to comment.