fix featured-image-block rendering

This commit is contained in:
Nataliia Bobrova 2025-03-05 10:49:25 +00:00
parent dea875eadc
commit 81623b457c
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
?>
<div <?php echo get_block_wrapper_attributes(); ?>
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], size= = "large"); ?>"
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], $size = "large"); ?>"
tabindex="0">
<div class="call-to-action">

View File

@ -11,7 +11,7 @@
?>
<div <?php echo get_block_wrapper_attributes(); ?>
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], size= = "large"); ?>"
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], $size = "large"); ?>"
tabindex="0">
<div class="call-to-action">