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 @@ -
Études is not confined to the past—we are passionate about the cutting edge designs shaping our world today.', 'twentytwentyfour' ) ); ?>
- - - - -Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>
+ + + +
+
+
+ Études app for iOS and Android.', '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' ) ); ?>
+ +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 + ); + ?>
+ WordPress'; + echo sprintf( + /* Translators: Designed with WordPress */ + esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), + $wordpress_link + ); + ?> +
+ +- - WordPress'; - echo sprintf( - /* Translators: Designed with WordPress */ - esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), - $wordpress_link - ); - ?> -
-
Leia Acosta, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?>
- -Leia Acosta, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?>
+ +—
- + +—
+ - - - + + + - + - + +