fix featured-image-block rendering
This commit is contained in:
parent
dea875eadc
commit
81623b457c
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user