feat(frontend): replace lazy loading with zibll lazysizes
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ if ($_footer_conter === '') {
|
||||
?>
|
||||
<div class="footer-miniimg"<?php echo $mi_text !== '' ? ' title="' . esc_attr($mi_text) . '"' : ''; ?>>
|
||||
<p>
|
||||
<img src="<?php echo esc_url($mi_img); ?>" alt="<?php echo esc_attr($mi_text !== '' ? $mi_text : $blog_name); ?>" loading="lazy">
|
||||
<img<?php echo aksrt_get_lazy_attr('lazy_other', (string) $mi_img); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> alt="<?php echo esc_attr($mi_text !== '' ? $mi_text : $blog_name); ?>">
|
||||
</p>
|
||||
<?php if ($mi_text !== '') : ?>
|
||||
<span class="opacity8 em09"><?php echo esc_html($mi_text); ?></span>
|
||||
|
||||
Reference in New Issue
Block a user