Skip to content

Commit

Permalink
fix: add button block class to the Homepage Posts more button (#1252)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored Aug 24, 2022
1 parent a2a4fff commit c4d565c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/homepage-articles/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class="<?php echo esc_attr( $classes ); ?>"

if ( $has_more_button ) :
?>
<button type="button" data-next="<?php echo esc_url( $articles_rest_url ); ?>">
<button type="button" class="wp-block-button__link" data-next="<?php echo esc_url( $articles_rest_url ); ?>">
<?php
if ( ! empty( $attributes['moreButtonText'] ) ) {
echo esc_html( $attributes['moreButtonText'] );
Expand Down

0 comments on commit c4d565c

Please sign in to comment.