Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TT1 Blocks: Clean up for Theme Repo #149

Merged
merged 22 commits into from
Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions tt1-blocks/functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<?php
/**
* Functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package WordPress
* @subpackage TT1_Blocks
* @since 1.0
*/

if ( ! function_exists( 'tt1_blocks_setup' ) ) {
/**
Expand All @@ -8,7 +17,7 @@
* runs before the init hook. The init hook is too late for some features, such
* as indicating support for post thumbnails.
*
* @since 1.0.0
* @since 1.0
*
* @return void
*/
Expand Down Expand Up @@ -232,7 +241,7 @@ function tt1_blocks_setup() {
/**
* Enqueue scripts and styles.
*
* @since 1.0.0
* @since 1.0
*
* @return void
*/
Expand All @@ -244,7 +253,7 @@ function tt1_blocks_scripts() {
/**
* Enqueue block editor script.
*
* @since 1.0.0
* @since 1.0
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion tt1-blocks/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @package WordPress
* @subpackage TT1_Blocks
* @since 1.0.0
* @since 1.0
*/

/**
Expand Down
6 changes: 3 additions & 3 deletions tt1-blocks/inc/block-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.0
*/

if ( function_exists( 'register_block_style' ) ) {
/**
* Register block styles.
*
* @since 1.0.0
* @since 1.0
*
* @return void
*/
Expand Down
59 changes: 59 additions & 0 deletions tt1-blocks/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
=== TT1 Blocks ===
Contributors: wordpressdotorg
Requires at least: 5.6
Tested up to: 5.6
kjellr marked this conversation as resolved.
Show resolved Hide resolved
Requires PHP: 5.6
Stable tag: 1.0
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 <a href="https://wordpress.org/themes/twentytwentyone/">Twenty Twenty-One</a> theme. It is built to leverage the full-site editing functionality that is being built in the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. This work is ongoing, and updates are available on the <a href="https://make.wordpress.org/core/?s=gutenberg">Make WordPress Core blog</a>.

This theme is beta software, and is not meant for use on a production site. Bug reports, fixes, and other and contributions are welcome <a href="https://github.com/WordPress/theme-experiments/issues">in the theme's GitHub repository</a>.

== Installation ==

1. If you do not already have <a href="https://wordpress.org/plugins/gutenberg/">the Gutenberg plugin</a> 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 ==

= 1.0 =
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what to do about the version number here. Should we start below 1.0?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me. Updated in 582d892.

* 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
carolinan marked this conversation as resolved.
Show resolved Hide resolved

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
Binary file modified tt1-blocks/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tt1-blocks/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: TT1 Blocks is a block-based version of the default Twenty Twenty-On
Requires at least: 5.3
Tested up to: 5.5
Requires PHP: 5.6
Version: 1.0.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tt1-blocks
Expand Down