feat(frontend): replace lazy loading with zibll lazysizes
This commit is contained in:
1 parent
02571eecd6
commit
435ee1daa7
78 files changed
+1515
-909
No files matched your search
@@ -57,7 +57,7 @@ if (empty($categories)) {
|
||||
<a href="<?php echo esc_url($cat_link); ?>" class="home-module__more-link">
|
||||
<?php if ($cover) : ?>
|
||||
<div class="home-module__more-cover">
|
||||
<img src="<?php echo esc_url($cover); ?>" alt=""<?php echo function_exists('aksrt_lazy_loading') ? aksrt_lazy_loading('other') : ' loading="lazy"'; ?>>
|
||||
<img<?php echo aksrt_get_lazy_attr('lazy_other', (string) $cover); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> alt="">
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="home-module__more-cover home-module__more-cover--placeholder">
|
||||
|
||||
Reference in new issue
Block a user