Skip to content

Commit

Permalink
Update modules/content/classes/render/widget-zig-zag-render.php
Browse files Browse the repository at this point in the history
Co-authored-by: Nurit Shahar <[email protected]>
  • Loading branch information
mserino and nuritsha authored Sep 16, 2024
1 parent 34af76a commit 6f08e9a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions modules/content/classes/render/widget-zig-zag-render.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,14 @@ private function render_text_element_container( $item, $key ) {
<?php if ( $has_button ) { ?>
<div class="e-zigzag__button-container">
<a <?php echo $this->widget->get_render_attribute_string( 'button-link-' . $key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<?php Icons_Manager::render_icon( $button_icon,
[
'aria-hidden' => 'true',
'class' => 'e-zigzag__button-icon',
] ); ?>
<?php
Icons_Manager::render_icon( $button_icon,
[
'aria-hidden' => 'true',
'class' => 'e-zigzag__button-icon',
]
);
?>
<?php echo esc_html( $button_text ); ?>
</a>
</div>
Expand Down

0 comments on commit 6f08e9a

Please sign in to comment.