diff --git a/src/wp-content/themes/twentytwentyfour/functions.php b/src/wp-content/themes/twentytwentyfour/functions.php index 443035f384649..2dbd05355d550 100644 --- a/src/wp-content/themes/twentytwentyfour/functions.php +++ b/src/wp-content/themes/twentytwentyfour/functions.php @@ -32,9 +32,9 @@ function twentytwentyfour_block_styles() { 'core/button', array( 'handle' => 'twentytwentyfour-button-style-outline', - 'src' => get_theme_file_uri( 'assets/css/button-outline.css' ), - 'ver' => wp_get_theme()->get( 'Version' ), - 'path' => get_theme_file_path( 'assets/css/button-outline.css' ), + 'src' => get_parent_theme_file_uri( 'assets/css/button-outline.css' ), + 'ver' => wp_get_theme( get_template() )->get( 'Version' ), + 'path' => get_parent_theme_file_path( 'assets/css/button-outline.css' ), ) ); @@ -45,7 +45,6 @@ function twentytwentyfour_block_styles() { 'label' => __( 'Arrow icon', 'twentytwentyfour' ), /* * Styles for the custom Arrow icon style of the Details block - * https://github.com/WordPress/twentytwentyfour/issues/46 */ 'inline_style' => ' .is-style-arrow-icon-details { diff --git a/src/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php b/src/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php index d1c52425698a0..ae88e9006c74c 100644 --- a/src/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php +++ b/src/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php @@ -22,7 +22,7 @@
- +
diff --git a/src/wp-content/themes/twentytwentyfour/patterns/page-home-business.php b/src/wp-content/themes/twentytwentyfour/patterns/page-home-business.php index fb526b25c0e2b..ca22952174553 100644 --- a/src/wp-content/themes/twentytwentyfour/patterns/page-home-business.php +++ b/src/wp-content/themes/twentytwentyfour/patterns/page-home-business.php @@ -1,7 +1,7 @@ - + diff --git a/src/wp-content/themes/twentytwentyfour/patterns/posts-list.php b/src/wp-content/themes/twentytwentyfour/patterns/posts-list.php new file mode 100644 index 0000000000000..5db93af229eea --- /dev/null +++ b/src/wp-content/themes/twentytwentyfour/patterns/posts-list.php @@ -0,0 +1,62 @@ + + + +
+ +

+ + + +
+ +
+ + +
+ + + +
+ +
+ +
+ + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ +
+ diff --git a/src/wp-content/themes/twentytwentyfour/patterns/template-home-business.php b/src/wp-content/themes/twentytwentyfour/patterns/template-home-business.php index e6a41b74d76bf..e84a5aca903c0 100644 --- a/src/wp-content/themes/twentytwentyfour/patterns/template-home-business.php +++ b/src/wp-content/themes/twentytwentyfour/patterns/template-home-business.php @@ -1,8 +1,8 @@
- +
diff --git a/src/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php b/src/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php index 23e45032261be..4fc4f072ba3c9 100644 --- a/src/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php +++ b/src/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php @@ -2,7 +2,7 @@ /** * Title: Portfolio home template with post featured images * Slug: twentytwentyfour/template-home-portfolio - * Template Types: front-page, index, home + * Template Types: front-page, home * Viewport width: 1400 * Inserter: no */ diff --git a/src/wp-content/themes/twentytwentyfour/templates/home.html b/src/wp-content/themes/twentytwentyfour/templates/home.html index 92c4c041a5bfa..7c364b8558277 100644 --- a/src/wp-content/themes/twentytwentyfour/templates/home.html +++ b/src/wp-content/themes/twentytwentyfour/templates/home.html @@ -1 +1 @@ - +