WordPress / twentytwentytwo

Twenty Twenty-Two, the default WordPress theme that will launch with WordPress 5.9.
404 stars 92 forks source link

Document a minimal child theme example #288

Closed DJviolin closed 2 years ago

DJviolin commented 2 years ago

Description

I created a simple child theme for Twenty twenty-two, only with style.css, without functions.php:

/*
 Theme Name: Twenty Twenty-Two Child
 Theme URI: https://github.com/wordpress/twentytwentytwo/
 Template: twentytwentytwo
 Version: 0.1
*/

But the header image not displayed on the News page. FireShot Capture 1302 - Hírek – WordPress 5 9 Beta Test - app test

What we should see: FireShot Capture 1303 - Hírek – WordPress 5 9 Beta Test - app test

Wordpress version: 5.9-beta2-52346

I'm not sure how to create a proper child theme for the new block themes. Can you provide a minimal example?

tinjure20 commented 2 years ago

Here is a pull ticket at GitHub to try a few Twenty Twenty-Two child themes with five examples and here you can find their examples codes.

DJviolin commented 2 years ago

Header images still not present within the example child themes from the theme-experiments repo.

kjellr commented 2 years ago

:wave: The header image issue was fixed yesterday in this commit.

DJviolin commented 2 years ago

Thank You!