diff --git a/wp-content/themes/twentytwentyfive/assets/images/404-image.webp b/wp-content/themes/twentytwentyfive/assets/images/404-image.webp new file mode 100644 index 0000000000..5b33a9e233 Binary files /dev/null and b/wp-content/themes/twentytwentyfive/assets/images/404-image.webp differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802845.webp b/wp-content/themes/twentytwentyfive/assets/images/akaka-falls-state-park-flora.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802845.webp rename to wp-content/themes/twentytwentyfive/assets/images/akaka-falls-state-park-flora.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8812207.webp b/wp-content/themes/twentytwentyfive/assets/images/botany-flowers-closeup.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8812207.webp rename to wp-content/themes/twentytwentyfive/assets/images/botany-flowers-closeup.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2222755.webp b/wp-content/themes/twentytwentyfive/assets/images/campanula-alliariifolia-flower.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2222755.webp rename to wp-content/themes/twentytwentyfive/assets/images/campanula-alliariifolia-flower.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2224378.webp b/wp-content/themes/twentytwentyfive/assets/images/delphinium-flowers.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2224378.webp rename to wp-content/themes/twentytwentyfive/assets/images/delphinium-flowers.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/grid-flower-2.webp b/wp-content/themes/twentytwentyfive/assets/images/grid-flower-2.webp index 56698dafea..2bebf05ccf 100644 Binary files a/wp-content/themes/twentytwentyfive/assets/images/grid-flower-2.webp and b/wp-content/themes/twentytwentyfive/assets/images/grid-flower-2.webp differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-13029755.webp b/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-13029755.webp deleted file mode 100644 index ac8ff1d85d..0000000000 Binary files a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-13029755.webp and /dev/null differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802835-jpeg-scaled.webp b/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802835-jpeg-scaled.webp deleted file mode 100644 index 648be67c9c..0000000000 Binary files a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802835-jpeg-scaled.webp and /dev/null differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-image.webp b/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-image.webp index 75efc7d3ad..ace36caf31 100644 Binary files a/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-image.webp and b/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-image.webp differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8799918.webp b/wp-content/themes/twentytwentyfive/assets/images/malibu-plantlife.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8799918.webp rename to wp-content/themes/twentytwentyfive/assets/images/malibu-plantlife.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802603-original.webp b/wp-content/themes/twentytwentyfive/assets/images/northern-buttercups-flowers.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802603-original.webp rename to wp-content/themes/twentytwentyfive/assets/images/northern-buttercups-flowers.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/poster-image-background.webp b/wp-content/themes/twentytwentyfive/assets/images/poster-image-background.webp index 0c91076da3..00bc0b7b8f 100644 Binary files a/wp-content/themes/twentytwentyfive/assets/images/poster-image-background.webp and b/wp-content/themes/twentytwentyfive/assets/images/poster-image-background.webp differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8799471.webp b/wp-content/themes/twentytwentyfive/assets/images/red-hibiscus-closeup.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8799471.webp rename to wp-content/themes/twentytwentyfive/assets/images/red-hibiscus-closeup.webp diff --git a/wp-content/themes/twentytwentyfive/assets/images/ruins-image.webp b/wp-content/themes/twentytwentyfive/assets/images/ruins-image.webp new file mode 100644 index 0000000000..d407de29fa Binary files /dev/null and b/wp-content/themes/twentytwentyfive/assets/images/ruins-image.webp differ diff --git a/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2211732.webp b/wp-content/themes/twentytwentyfive/assets/images/star-thristle-flower.webp similarity index 100% rename from wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2211732.webp rename to wp-content/themes/twentytwentyfive/assets/images/star-thristle-flower.webp diff --git a/wp-content/themes/twentytwentyfive/functions.php b/wp-content/themes/twentytwentyfive/functions.php index 03880ba21f..83d869df24 100644 --- a/wp-content/themes/twentytwentyfive/functions.php +++ b/wp-content/themes/twentytwentyfive/functions.php @@ -19,7 +19,7 @@ if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) : * @return void */ function twentytwentyfive_post_format_setup() { - add_theme_support( 'post-formats', array( 'audio', 'gallery', 'image', 'link', 'quote', 'video' ) ); + add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) ); } endif; add_action( 'after_setup_theme', 'twentytwentyfive_post_format_setup' ); @@ -121,7 +121,7 @@ add_action( 'init', 'twentytwentyfive_pattern_categories' ); // Registers block binding sources. if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) : /** - * Registers the copyright block binding source. + * Registers the post format block binding source. * * @since Twenty Twenty-Five 1.0 * @@ -129,33 +129,30 @@ if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) : */ function twentytwentyfive_register_block_bindings() { register_block_bindings_source( - 'twentytwentyfive/copyright', + 'twentytwentyfive/format', array( - 'label' => _x( '© YEAR', 'Label for the copyright placeholder in the editor', 'twentytwentyfive' ), - 'get_value_callback' => 'twentytwentyfive_copyright_binding', + 'label' => _x( 'Post format name', 'Label for the block binding placeholder in the editor', 'twentytwentyfive' ), + 'get_value_callback' => 'twentytwentyfive_format_binding', ) ); } endif; +add_action( 'init', 'twentytwentyfive_register_block_bindings' ); -// Registers block binding callback function for the copyright. -if ( ! function_exists( 'twentytwentyfive_copyright_binding' ) ) : +// Registers block binding callback function for the post format name. +if ( ! function_exists( 'twentytwentyfive_format_binding' ) ) : /** - * Callback function for the copyright block binding source. + * Callback function for the post format name block binding source. * * @since Twenty Twenty-Five 1.0 * - * @return string Copyright text. + * @return string|void Post format name, or nothing if the format is 'standard'. */ - function twentytwentyfive_copyright_binding() { - $copyright_text = sprintf( - /* translators: 1: Copyright symbol or word, 2: Year */ - esc_html__( '%1$s %2$s', 'twentytwentyfive' ), - '©', - wp_date( 'Y' ) - ); + function twentytwentyfive_format_binding() { + $post_format_slug = get_post_format(); - return $copyright_text; + if ( $post_format_slug && 'standard' !== $post_format_slug ) { + return get_post_format_string( $post_format_slug ); + } } endif; -add_action( 'init', 'twentytwentyfive_register_block_bindings' ); diff --git a/wp-content/themes/twentytwentyfive/parts/footer-columns.html b/wp-content/themes/twentytwentyfive/parts/footer-columns.html new file mode 100644 index 0000000000..00ca2ec8c5 --- /dev/null +++ b/wp-content/themes/twentytwentyfive/parts/footer-columns.html @@ -0,0 +1 @@ + diff --git a/wp-content/themes/twentytwentyfive/parts/header-large-title.html b/wp-content/themes/twentytwentyfive/parts/header-large-title.html new file mode 100644 index 0000000000..2c7ccf8bec --- /dev/null +++ b/wp-content/themes/twentytwentyfive/parts/header-large-title.html @@ -0,0 +1 @@ + diff --git a/wp-content/themes/twentytwentyfive/patterns/banner-about-book.php b/wp-content/themes/twentytwentyfive/patterns/banner-about-book.php index af38722bb9..07eef9a8e3 100644 --- a/wp-content/themes/twentytwentyfive/patterns/banner-about-book.php +++ b/wp-content/themes/twentytwentyfive/patterns/banner-about-book.php @@ -23,7 +23,7 @@ -
+ diff --git a/wp-content/themes/twentytwentyfive/patterns/banner-poster.php b/wp-content/themes/twentytwentyfive/patterns/banner-poster.php index 75cd422616..3e8ed7a3b9 100644 --- a/wp-content/themes/twentytwentyfive/patterns/banner-poster.php +++ b/wp-content/themes/twentytwentyfive/patterns/banner-poster.php @@ -21,7 +21,7 @@diff --git a/wp-content/themes/twentytwentyfive/patterns/footer-newsletter.php b/wp-content/themes/twentytwentyfive/patterns/footer-newsletter.php index 25258a17d7..0b4c891027 100644 --- a/wp-content/themes/twentytwentyfive/patterns/footer-newsletter.php +++ b/wp-content/themes/twentytwentyfive/patterns/footer-newsletter.php @@ -38,8 +38,8 @@
diff --git a/wp-content/themes/twentytwentyfive/patterns/footer.php b/wp-content/themes/twentytwentyfive/patterns/footer.php index 7aa9bd2fb3..87273794df 100644 --- a/wp-content/themes/twentytwentyfive/patterns/footer.php +++ b/wp-content/themes/twentytwentyfive/patterns/footer.php @@ -71,10 +71,9 @@
- +
- + Atlanta, GA', 'Sample testimonial citation.', 'twentytwentyfive' ) ); ?>@@ -62,7 +62,7 @@
- + Springfield, IL', 'Sample testimonial citation.', 'twentytwentyfive' ) ); ?>diff --git a/wp-content/themes/twentytwentyfive/patterns/testimonials-6-col.php b/wp-content/themes/twentytwentyfive/patterns/testimonials-6-col.php index bd51820541..e6d4fcb9c7 100644 --- a/wp-content/themes/twentytwentyfive/patterns/testimonials-6-col.php +++ b/wp-content/themes/twentytwentyfive/patterns/testimonials-6-col.php @@ -27,7 +27,7 @@