diff --git a/wp-content/themes/twentytwentyfour/functions.php b/wp-content/themes/twentytwentyfour/functions.php index e569d5b8e9..a7c7ad1975 100644 --- a/wp-content/themes/twentytwentyfour/functions.php +++ b/wp-content/themes/twentytwentyfour/functions.php @@ -9,7 +9,7 @@ */ /** - * Register block Styles + * Register block styles */ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : @@ -165,3 +165,29 @@ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : endif; add_action( 'init', 'twentytwentyfour_block_styles' ); + +/** + * Register pattern categories. + */ + +if ( ! function_exists( 'twentytwentyfour_pattern_categories' ) ) : + /** + * Register pattern categories + * + * @return void + * @since Twenty Twenty-Four 1.0 + * + */ + function twentytwentyfour_pattern_categories() { + + register_block_pattern_category( + 'page', + array( + 'label' => _x( 'Pages', 'Block pattern category' ), + 'description' => __( 'A collection of full page layouts.' ), + ) + ); + } +endif; + +add_action( 'init', 'twentytwentyfour_pattern_categories' ); diff --git a/wp-content/themes/twentytwentyfour/parts/footer-portfolio.html b/wp-content/themes/twentytwentyfour/parts/footer-portfolio.html deleted file mode 100644 index 32a1b81707..0000000000 --- a/wp-content/themes/twentytwentyfour/parts/footer-portfolio.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/wp-content/themes/twentytwentyfour/parts/footer-writer.html b/wp-content/themes/twentytwentyfour/parts/footer-writer.html deleted file mode 100644 index 3fa3da456b..0000000000 --- a/wp-content/themes/twentytwentyfour/parts/footer-writer.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/wp-content/themes/twentytwentyfour/parts/header.html b/wp-content/themes/twentytwentyfour/parts/header.html index 422ad31d7f..632900cbf3 100644 --- a/wp-content/themes/twentytwentyfour/parts/header.html +++ b/wp-content/themes/twentytwentyfour/parts/header.html @@ -1,13 +1,22 @@ -
-
-
+
+ +
+ +
+ - -
-
- + +
+ +
+ +
+ -
-
+ +
+
+ \ No newline at end of file diff --git a/wp-content/themes/twentytwentyfour/parts/post-meta.html b/wp-content/themes/twentytwentyfour/parts/post-meta.html index 3cdabd84c2..e11eda30ea 100644 --- a/wp-content/themes/twentytwentyfour/parts/post-meta.html +++ b/wp-content/themes/twentytwentyfour/parts/post-meta.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/wp-content/themes/twentytwentyfour/parts/sidebar.html b/wp-content/themes/twentytwentyfour/parts/sidebar.html index 2394b856a4..93c36b957c 100644 --- a/wp-content/themes/twentytwentyfour/parts/sidebar.html +++ b/wp-content/themes/twentytwentyfour/parts/sidebar.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/wp-content/themes/twentytwentyfour/patterns/banner-hero.php b/wp-content/themes/twentytwentyfour/patterns/banner-hero.php new file mode 100644 index 0000000000..4587ac86a6 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/banner-hero.php @@ -0,0 +1,55 @@ + + + +
+ + +
+ + +

+ + + + + + + +

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + + + + + +
+ <?php esc_attr_e( 'Building exterior in Toronto, Canada', 'twentytwentyfour' ); ?> +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/banner-project-description.php b/wp-content/themes/twentytwentyfour/patterns/banner-project-description.php new file mode 100644 index 0000000000..31a44fc6a6 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/banner-project-description.php @@ -0,0 +1,44 @@ + + +
+ +
+ +
+ +

+ +
+ + + +
+ + +

+ + +
+ +
+ + + + + + + +
+ <?php esc_attr_e( 'Hyatt Regency San Francisco, San Francisco, United States', 'twentytwentyfour' ); ?> +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/centered-statement.php b/wp-content/themes/twentytwentyfour/patterns/centered-statement.php deleted file mode 100644 index 5637bdf14d..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/centered-statement.php +++ /dev/null @@ -1,25 +0,0 @@ - - - -
-
- - - - -

Études is not confined to the past—we are passionate about the cutting edge designs shaping our world today.', 'twentytwentyfour' ) ); ?>

- - - - -
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/clients.php b/wp-content/themes/twentytwentyfour/patterns/clients.php deleted file mode 100644 index e24572710b..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/clients.php +++ /dev/null @@ -1,50 +0,0 @@ - - - -
- -
- -

- - - - - - - -
- - -
- - - -
- - - -
- - - -
- - - -
- - - -
-
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/columns.php b/wp-content/themes/twentytwentyfour/patterns/columns.php deleted file mode 100644 index 913a467dc3..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/columns.php +++ /dev/null @@ -1,64 +0,0 @@ - - - -
-
-
-

-
- - - -
-
-
-

- - - -

-
- - - -
-

- - - -

-
-
- - - -
-
-

- - - -

-
- - - -
-

- - - -

-
-
-
-
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/cta-content-image-on-right.php b/wp-content/themes/twentytwentyfour/patterns/cta-content-image-on-right.php new file mode 100644 index 0000000000..f46ecbc1d6 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/cta-content-image-on-right.php @@ -0,0 +1,66 @@ + + + +
+ +
+ +
+ +

+ + + +
    + +
  • + + + +
  • + + + +
  • + +
+ + + +
+ +
+ +
+ + + +
+ +
+ +
+ +
+ + + +
+ +
+ <?php esc_attr_e( 'White abstract geometric artwork from Dresden, Germany', 'twentytwentyfour' ); ?> +
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php b/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php new file mode 100644 index 0000000000..78665ceb97 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php @@ -0,0 +1,214 @@ + + + +
+ +
+ +
+ +

+ + + +

+ +
+ + + + + + + +
+ +
+ +

+ +

+ + + +
+ + + + + + + +
+ +

Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

+ + + +
+ + + + + + + +
+ + + + + +
+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +

+ +

+ + + +
+ + + + + + + +
+ +

Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

+ + + +
+ + + +

+ + + +
+ + + +

Études app for iOS and Android.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

+ +
+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ +

+ +

+ + + +
+ + + + + + + +
+ +

Études Articles.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

+ + + +
+ + + +

+ + + +
+ + + +

Études app for iOS and Android', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

+ +
+ + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php b/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php new file mode 100644 index 0000000000..998106589e --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php @@ -0,0 +1,57 @@ + + + +
+ +
+ +
+ +
+ + +

+ + + +
+ +

+ + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ +
+ <?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?> +
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/cta-services-image-left.php b/wp-content/themes/twentytwentyfour/patterns/cta-services-image-left.php new file mode 100644 index 0000000000..0ceed99ab6 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/cta-services-image-left.php @@ -0,0 +1,48 @@ + + + +
+ +
+ +
+ +
+ <?php esc_attr_e( 'White abstract geometric artwork from Dresden, Germany', 'twentytwentyfour' ); ?> +
+ +
+ + + +
+ +

+ + + +

+ + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/text-centered-cta-subscribe.php b/wp-content/themes/twentytwentyfour/patterns/cta-subscribe-centered.php similarity index 58% rename from wp-content/themes/twentytwentyfour/patterns/text-centered-cta-subscribe.php rename to wp-content/themes/twentytwentyfour/patterns/cta-subscribe-centered.php index 654e6c9c0b..b65eac5907 100644 --- a/wp-content/themes/twentytwentyfour/patterns/text-centered-cta-subscribe.php +++ b/wp-content/themes/twentytwentyfour/patterns/cta-subscribe-centered.php @@ -1,15 +1,17 @@ - -
-
+ +
+ +
+ @@ -22,8 +24,11 @@ -
-
+
+ +
+ +
diff --git a/wp-content/themes/twentytwentyfour/patterns/faq.php b/wp-content/themes/twentytwentyfour/patterns/faq.php deleted file mode 100644 index 3bafe36338..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/faq.php +++ /dev/null @@ -1,54 +0,0 @@ - - - - - diff --git a/wp-content/themes/twentytwentyfour/patterns/feature-grid.php b/wp-content/themes/twentytwentyfour/patterns/feature-grid.php deleted file mode 100644 index 9f14b7fc69..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/feature-grid.php +++ /dev/null @@ -1,103 +0,0 @@ - - - -
-
- -

- - - - - - - -

-
- - - - - - - -
-
- -

- - - -

-
- - - -
- -

- - - -

-
- - - -
- -

- - - -

-
-
- - - - - - - -
-
- -

- - - -

-
- - - -
- -

- - - -

-
- - - -
- -

- - - -

-
-
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/features-with-images.php b/wp-content/themes/twentytwentyfour/patterns/features-with-images.php deleted file mode 100644 index a947821186..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/features-with-images.php +++ /dev/null @@ -1,100 +0,0 @@ - - - -
-
-
- - -

- - - -

-
- - - - - - - -
-
-
- -

-
- - - -
    - - -
  • - - - -
  • - - - -
  • - - -
-
- - - -
-
<?php esc_attr_e( 'Tourist taking photo of a building', 'twentytwentyfour' ); ?>
-
-
- - - - - - - -
-
-
<?php esc_attr_e( 'Windows of a building in Nuremberg, Germany', 'twentytwentyfour' ); ?>
-
- - - -
-
- - -

-
- - - -
    - -
  • - - - -
  • - - - -
  • -
-
-
-
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/footer-writer.php b/wp-content/themes/twentytwentyfour/patterns/footer-centered-logo-nav.php similarity index 54% rename from wp-content/themes/twentytwentyfour/patterns/footer-writer.php rename to wp-content/themes/twentytwentyfour/patterns/footer-centered-logo-nav.php index 2e81e7804f..4370eac6b2 100644 --- a/wp-content/themes/twentytwentyfour/patterns/footer-writer.php +++ b/wp-content/themes/twentytwentyfour/patterns/footer-centered-logo-nav.php @@ -1,7 +1,7 @@
- + - + - - -
+

+ +
diff --git a/wp-content/themes/twentytwentyfour/patterns/footer-portfolio.php b/wp-content/themes/twentytwentyfour/patterns/footer-colophon-3-col.php similarity index 83% rename from wp-content/themes/twentytwentyfour/patterns/footer-portfolio.php rename to wp-content/themes/twentytwentyfour/patterns/footer-colophon-3-col.php index a92bdce457..cfb15db49b 100644 --- a/wp-content/themes/twentytwentyfour/patterns/footer-portfolio.php +++ b/wp-content/themes/twentytwentyfour/patterns/footer-colophon-3-col.php @@ -1,7 +1,7 @@
-
+
+ +
-
+
@@ -33,7 +35,7 @@
-

+

@@ -51,7 +53,7 @@
-

+

/

@@ -84,14 +86,14 @@

WordPress'; - echo sprintf( - /* Translators: Designed with WordPress */ - esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), - $wordpress_link - ); - ?> + /* Translators: WordPress link. */ + $wordpress_link = 'WordPress'; + echo sprintf( + /* Translators: Designed with WordPress */ + esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), + $wordpress_link + ); + ?>

diff --git a/wp-content/themes/twentytwentyfour/patterns/footer.php b/wp-content/themes/twentytwentyfour/patterns/footer.php index 5ac338d152..b39b3ddf7a 100644 --- a/wp-content/themes/twentytwentyfour/patterns/footer.php +++ b/wp-content/themes/twentytwentyfour/patterns/footer.php @@ -1,6 +1,6 @@ -
-
-
-
+
+ +
+ +
+ +
+ - + -
-
- + +
+ +
+ - -
- + +
+
+ - -
-
-
-

- + +
+ +
+ +
+ +

+ - -
+ +
- + - - - + + + - + +
+ +
+ + + + +
+ +

+ + + +
+ + + + + + + + + +
+ +
+ + + +
+ +

+ + + +
+ + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + +
+ + + +
+
-
- - - - -
-

- - - -
- - - - - - - - - -
-
- - - -
-

- - - -
- - - - - - - - - -
-
-
-
-
- - - -
- -
-
diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-full-screen-image.php b/wp-content/themes/twentytwentyfour/patterns/gallery-full-screen-image.php similarity index 51% rename from wp-content/themes/twentytwentyfour/patterns/hidden-full-screen-image.php rename to wp-content/themes/twentytwentyfour/patterns/gallery-full-screen-image.php index fb378fb43e..ee26fca4f6 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-full-screen-image.php +++ b/wp-content/themes/twentytwentyfour/patterns/gallery-full-screen-image.php @@ -1,14 +1,21 @@ -
- - -
+
+ + +
+ + + +
+
diff --git a/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-2-col.php b/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-2-col.php new file mode 100644 index 0000000000..67ea044cb1 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-2-col.php @@ -0,0 +1,58 @@ + + +
+ +
+ +
+ +
+ +
+ + + + + + + +
+ +
+ +
+ + + +
+ + + + + +
+
+ + + + + + + +
+
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-3-col.php b/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-3-col.php new file mode 100644 index 0000000000..3280317e10 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-3-col.php @@ -0,0 +1,110 @@ + + +
+ +
+ +
+ +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ + + +
+ + + + + +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ + + +
+ +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-4-col.php b/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-4-col.php new file mode 100644 index 0000000000..8c89db80d5 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/gallery-offset-images-grid-4-col.php @@ -0,0 +1,149 @@ + + + +
+ +
+ +
+ +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ + + +
+ + + + + +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ + + +
+ +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ + + +
+ + + + + +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/gallery-project-layout.php b/wp-content/themes/twentytwentyfour/patterns/gallery-project-layout.php new file mode 100644 index 0000000000..27d6f74646 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/gallery-project-layout.php @@ -0,0 +1,65 @@ + + + + + diff --git a/wp-content/themes/twentytwentyfour/patterns/hero.php b/wp-content/themes/twentytwentyfour/patterns/hero.php deleted file mode 100644 index edd80d841b..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/hero.php +++ /dev/null @@ -1,42 +0,0 @@ - - - -
-
-

- - - - - - - -

- - - - - - - -
-
-
-
- - - - - - - -
<?php esc_attr_e( 'Building exterior in Toronto, Canada', 'twentytwentyfour' ); ?>
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-404.php b/wp-content/themes/twentytwentyfour/patterns/hidden-404.php index 196c415185..d033a13f44 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-404.php +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-404.php @@ -1,7 +1,7 @@ @@ -10,6 +10,6 @@

-

+

- + diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-comments.php b/wp-content/themes/twentytwentyfour/patterns/hidden-comments.php index b54fd8f363..bd10668462 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-comments.php +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-comments.php @@ -1,45 +1,47 @@
-

+ +

+ - -
- + +
+ +
+ +
- - -
- - -
- -
- - - -
- - + +
+ + +
+ + +
+ +
+ - - + + - +
diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-hidden-intro-text-left.php b/wp-content/themes/twentytwentyfour/patterns/hidden-hidden-intro-text-left.php deleted file mode 100644 index e3791cface..0000000000 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-hidden-intro-text-left.php +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
- -
-
- -

Leia Acosta, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?>

- -
- - - -
-
-
- diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-no-results-content.php b/wp-content/themes/twentytwentyfour/patterns/hidden-no-results.php similarity index 73% rename from wp-content/themes/twentytwentyfour/patterns/hidden-no-results-content.php rename to wp-content/themes/twentytwentyfour/patterns/hidden-no-results.php index 048ac787cf..00bbf9761b 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-no-results-content.php +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-no-results.php @@ -1,7 +1,7 @@ diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php b/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php new file mode 100644 index 0000000000..29e6abc9f3 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php @@ -0,0 +1,19 @@ + + + + + + + +
+ +

Leia Acosta, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?>

+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php b/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php index b21a4dfe98..add4a1c8f3 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php @@ -1,27 +1,30 @@ -
-
+
+ +
+ - -

- + +

+ - -

- + +

+ - + - + +
+
-
diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-post-navigation.php b/wp-content/themes/twentytwentyfour/patterns/hidden-post-navigation.php index e9a502369f..be2dcb28b7 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-post-navigation.php +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-post-navigation.php @@ -1,14 +1,14 @@ - -