diff --git a/tt1-blocks/block-templates/index.html b/tt1-blocks/block-templates/index.html index d49e4351..06a51125 100644 --- a/tt1-blocks/block-templates/index.html +++ b/tt1-blocks/block-templates/index.html @@ -1,6 +1,8 @@ - + + + diff --git a/tt1-blocks/functions.php b/tt1-blocks/functions.php index eb5c00c7..c86c8fa1 100644 --- a/tt1-blocks/functions.php +++ b/tt1-blocks/functions.php @@ -1,4 +1,13 @@ 'purple-to-red', ), array( - 'name' => esc_html__( 'Red to Purple', 'tt1_blocks_block_editor_script' ), + 'name' => esc_html__( 'Red to Purple', 'tt1-blocks' ), 'gradient' => 'linear-gradient(160deg, ' . $red . ', ' . $purple . ')', 'slug' => 'red-to-purple', ), @@ -214,15 +223,9 @@ function tt1_blocks_setup() { // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); - // Add support for custom line height controls. - add_theme_support( 'custom-line-height' ); - // Add support for experimental link color control. add_theme_support( 'experimental-link-color' ); - // Add support for experimental cover block spacing. - add_theme_support( 'custom-spacing' ); - // Add support for custom units. add_theme_support( 'custom-units' ); } @@ -232,7 +235,7 @@ function tt1_blocks_setup() { /** * Enqueue scripts and styles. * - * @since 1.0.0 + * @since 0.1 * * @return void */ @@ -244,7 +247,7 @@ function tt1_blocks_scripts() { /** * Enqueue block editor script. * - * @since 1.0.0 + * @since 0.1 * * @return void */ diff --git a/tt1-blocks/inc/block-patterns.php b/tt1-blocks/inc/block-patterns.php index d55c218e..40980812 100644 --- a/tt1-blocks/inc/block-patterns.php +++ b/tt1-blocks/inc/block-patterns.php @@ -7,7 +7,7 @@ * * @package WordPress * @subpackage TT1_Blocks - * @since 1.0.0 + * @since 0.1 */ /** diff --git a/tt1-blocks/inc/block-styles.php b/tt1-blocks/inc/block-styles.php index 1b239f1d..67186317 100644 --- a/tt1-blocks/inc/block-styles.php +++ b/tt1-blocks/inc/block-styles.php @@ -5,15 +5,15 @@ * @link https://developer.wordpress.org/reference/functions/register_block_style/ * * @package WordPress - * @subpackage Twenty_Twenty_One - * @since 1.0.0 + * @subpackage TT1_Blocks + * @since 0.1 */ if ( function_exists( 'register_block_style' ) ) { /** * Register block styles. * - * @since 1.0.0 + * @since 0.1 * * @return void */ diff --git a/tt1-blocks/readme.txt b/tt1-blocks/readme.txt new file mode 100644 index 00000000..5ae016d6 --- /dev/null +++ b/tt1-blocks/readme.txt @@ -0,0 +1,59 @@ +=== TT1 Blocks === +Contributors: wordpressdotorg +Requires at least: 5.6 +Tested up to: 5.6 +Requires PHP: 5.6 +Stable tag: 0.1 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +== Description == + +TT1 Blocks is a fully block-based version the Twenty Twenty-One theme. It is built to leverage the full-site editing functionality that is being built in the Gutenberg plugin. This work is ongoing, and updates are available on the Make WordPress Core blog. + +This theme is beta software, and is not meant for use on a production site. Bug reports, fixes, and other and contributions are welcome in the theme's GitHub repository. + +== Installation == + +1. If you do not already have the Gutenberg plugin installed and activated, go to Appearance -> Themes in your admin panel and search for 'Gutenberg'. Install and activate the plugin. +2. Then, in your admin panel, go to Appearance -> Themes and click the 'Add New' button. +3. Type in 'TT1 Blocks' in the search form and press the 'Enter' key on your keyboard. +4. Click on the 'Activate' button to use your new theme right away. +5. From your admin panel, visit the Site Editor to customize your site. + +== Changelog == + += 0.1 = +* Released: December 18, 2020 + +Initial release + +== Copyright == + +TT1 Blocks WordPress Theme, 2020 WordPress.org +TT1 Blocks is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + + +TT1 Blocks is derived from Twenty Twenty-One, (C) 2020 WordPress.org. License: GPL v2 or later. + +Images +Art by Berthe Morisot 1841-1895. Public domain. +https://www.wikiart.org/en/berthe-morisot/playing-in-the-sand +https://www.wikiart.org/en/berthe-morisot/roses-tremieres-hollyhocks-1884 +https://www.wikiart.org/en/berthe-morisot/young-woman-in-mauve +https://www.wikiart.org/en/berthe-morisot/in-the-bois-de-boulogne +https://www.wikiart.org/en/berthe-morisot/daffodils +https://www.wikiart.org/en/berthe-morisot/self-portrait-1885 +https://www.wikiart.org/en/berthe-morisot/the-garden-at-bougival-1884 +https://www.wikiart.org/en/berthe-morisot/villa-with-orange-trees-nice +https://www.wikiart.org/en/berthe-morisot/reading diff --git a/tt1-blocks/screenshot.png b/tt1-blocks/screenshot.png index c0777aa6..7f7b08cd 100644 Binary files a/tt1-blocks/screenshot.png and b/tt1-blocks/screenshot.png differ diff --git a/tt1-blocks/style.css b/tt1-blocks/style.css index 9b4d05e5..d25aa0bf 100644 --- a/tt1-blocks/style.css +++ b/tt1-blocks/style.css @@ -4,10 +4,10 @@ Theme URI: https://github.com/WordPress/theme-experiments/tt1-blocks Author: the WordPress team Author URI: https://wordpress.org/ Description: TT1 Blocks is a block-based version of the default Twenty Twenty-One theme. It's just like Twenty Twenty-One, but it works with the experimental Full-Site Editing & Global Styles features of WordPress. -Requires at least: 5.3 -Tested up to: 5.5 +Requires at least: 5.6 +Tested up to: 5.6 Requires PHP: 5.6 -Version: 1.0.0 +Version: 0.1 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: tt1-blocks