Skip to content

Commit

Permalink
Update content-with-image.php
Browse files Browse the repository at this point in the history
fixed code format
  • Loading branch information
JohnPixle authored Jan 10, 2024
1 parent 02564ff commit 8fb2b4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions patterns/content-with-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Categories: quickwp/content
*/

$quickwp_strings = apply_filters( 'quickwp_strings', array() );
$quickwp_strings = apply_filters('quickwp_strings', array());

$images = array(
QUICKWP_URL . 'assets/images/qwp-img-02.webp',
Expand All @@ -22,16 +22,16 @@

<!-- wp:column {"verticalAlignment":"center","width":"40%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:40%"><!-- wp:heading -->
<h2 class="wp-block-heading"><?php echo esc_html( $quickwp_strings['section_title'] ); ?></h2>
<h2 class="wp-block-heading"><?php echo esc_html($quickwp_strings['section_title']); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_html( $quickwp_strings['paragraph_text'] ); ?></p>
<p><?php echo esc_html($quickwp_strings['paragraph_text']); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html( $quickwp_strings['button_text_2'] ); ?></a></div>
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html($quickwp_strings['button_text_2']); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column --></div>
Expand Down

0 comments on commit 8fb2b4d

Please sign in to comment.