add new adv plugin and suppoer webp

This commit is contained in:
argoexpert press
2025-04-18 19:44:26 +03:00
parent f3b21a96e4
commit 5aeb9f4cdb
13 changed files with 156 additions and 138 deletions

View File

@@ -8,7 +8,7 @@ if ($pinned_post) :
<a href="<?php echo get_permalink($pinned_post->ID); ?>" class="hero-banner">
<div class="hero-banner__bg">
<?= show_post_image($pinned_post->ID); ?>
<?=render_webp_picture_by_post( $pinned_post->ID );?>
</div>
<p class="hero-banner__main">Главное</p>
<div class="hero-banner__content">