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 @@ + +
diff --git a/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-my-pattern.php b/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-my-pattern.php index 23f7315e..b2699e53 100644 --- a/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-my-pattern.php +++ b/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-my-pattern.php @@ -28,7 +28,7 @@ - +
diff --git a/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-pattern.php b/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-pattern.php index 93b35ab2..82497d73 100644 --- a/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-pattern.php +++ b/public_html/wp-content/themes/wporg-pattern-directory-2024/patterns/single-pattern.php @@ -32,7 +32,7 @@ - +