fix featured-image-block rendering

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

No files matched your search

@@ -11,7 +11,7 @@
?> ?>
<div <?php echo get_block_wrapper_attributes(); ?> <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"> tabindex="0">
<div class="call-to-action"> <div class="call-to-action">
@@ -11,7 +11,7 @@
?> ?>
<div <?php echo get_block_wrapper_attributes(); ?> <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"> tabindex="0">
<div class="call-to-action"> <div class="call-to-action">