diff --git a/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php b/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php index 11046bcd..c4aa0b4d 100644 --- a/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php +++ b/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php @@ -406,6 +406,10 @@ function update_archive_title( $block_content, $block, $instance ) { } } + if ( is_search() ) { + $title = __( 'Search results', 'wporg-patterns' ); + } + $tag_name = isset( $attributes['level'] ) ? 'h' . (int) $attributes['level'] : 'h1'; $align_class_name = empty( $attributes['textAlign'] ) ? '' : "has-text-align-{$attributes['textAlign']}"; diff --git a/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/_grid.php b/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/_grid.php index 1091756f..592071c2 100644 --- a/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/_grid.php +++ b/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/_grid.php @@ -34,6 +34,8 @@
+ +