diff --git a/menu/parts/footer.html b/menu/parts/footer.html deleted file mode 100644 index 3f2aba9e2..000000000 --- a/menu/parts/footer.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/menu/templates/404.html b/menu/templates/404.html deleted file mode 100644 index 2c09ce01a..000000000 --- a/menu/templates/404.html +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/menu/assets/fonts/dm-mono_italic_400.ttf b/the-menu/assets/fonts/dm-mono_italic_400.ttf similarity index 100% rename from menu/assets/fonts/dm-mono_italic_400.ttf rename to the-menu/assets/fonts/dm-mono_italic_400.ttf diff --git a/menu/assets/fonts/dm-mono_normal_400.ttf b/the-menu/assets/fonts/dm-mono_normal_400.ttf similarity index 100% rename from menu/assets/fonts/dm-mono_normal_400.ttf rename to the-menu/assets/fonts/dm-mono_normal_400.ttf diff --git a/menu/assets/fonts/fraunces_italic_600.ttf b/the-menu/assets/fonts/fraunces_italic_600.ttf similarity index 100% rename from menu/assets/fonts/fraunces_italic_600.ttf rename to the-menu/assets/fonts/fraunces_italic_600.ttf diff --git a/menu/assets/fonts/fraunces_normal_600.ttf b/the-menu/assets/fonts/fraunces_normal_600.ttf similarity index 100% rename from menu/assets/fonts/fraunces_normal_600.ttf rename to the-menu/assets/fonts/fraunces_normal_600.ttf diff --git a/menu/assets/fonts/texgyreadventor_italic_700.woff b/the-menu/assets/fonts/texgyreadventor_italic_700.woff similarity index 100% rename from menu/assets/fonts/texgyreadventor_italic_700.woff rename to the-menu/assets/fonts/texgyreadventor_italic_700.woff diff --git a/menu/assets/fonts/texgyreadventor_normal_700.woff b/the-menu/assets/fonts/texgyreadventor_normal_700.woff similarity index 100% rename from menu/assets/fonts/texgyreadventor_normal_700.woff rename to the-menu/assets/fonts/texgyreadventor_normal_700.woff diff --git a/menu/assets/images/girl-holding-a-juicy-beef-burger.jpg b/the-menu/assets/images/girl-holding-a-juicy-beef-burger.jpg similarity index 100% rename from menu/assets/images/girl-holding-a-juicy-beef-burger.jpg rename to the-menu/assets/images/girl-holding-a-juicy-beef-burger.jpg diff --git a/menu/assets/images/young-lady-holding-huge-burger.jpg b/the-menu/assets/images/young-lady-holding-huge-burger.jpg similarity index 100% rename from menu/assets/images/young-lady-holding-huge-burger.jpg rename to the-menu/assets/images/young-lady-holding-huge-burger.jpg diff --git a/menu/functions.php b/the-menu/functions.php similarity index 92% rename from menu/functions.php rename to the-menu/functions.php index 4f815a0a9..2073a6110 100644 --- a/menu/functions.php +++ b/the-menu/functions.php @@ -4,8 +4,8 @@ * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * - * @package MENU - * @since MENU 1.0 + * @package The MENU + * @since The MENU 1.0 */ @@ -24,7 +24,7 @@ if ( ! function_exists( 'menu_support' ) ) : add_editor_style( 'style.css' ); // Make theme available for translation. - load_theme_textdomain( 'menu' ); + load_theme_textdomain( 'the-menu' ); } endif; diff --git a/the-menu/parts/footer.html b/the-menu/parts/footer.html new file mode 100644 index 000000000..98b0b1038 --- /dev/null +++ b/the-menu/parts/footer.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/menu/parts/header.html b/the-menu/parts/header.html similarity index 100% rename from menu/parts/header.html rename to the-menu/parts/header.html diff --git a/menu/parts/post-meta.html b/the-menu/parts/post-meta.html similarity index 100% rename from menu/parts/post-meta.html rename to the-menu/parts/post-meta.html diff --git a/menu/patterns/404.php b/the-menu/patterns/404.php similarity index 88% rename from menu/patterns/404.php rename to the-menu/patterns/404.php index 6912d744b..3d6bca695 100644 --- a/menu/patterns/404.php +++ b/the-menu/patterns/404.php @@ -1,7 +1,7 @@ -

+

-

+

@@ -27,7 +27,7 @@
-

+

@@ -36,7 +36,7 @@ -
+
diff --git a/menu/patterns/comments.php b/the-menu/patterns/comments.php similarity index 98% rename from menu/patterns/comments.php rename to the-menu/patterns/comments.php index 53f6b8fdb..183e37fb6 100644 --- a/menu/patterns/comments.php +++ b/the-menu/patterns/comments.php @@ -1,7 +1,7 @@

WordPress'; + $wordpress_link = 'WordPress'; echo sprintf( /* Translators: WordPress link. */ - esc_html__( 'Designed with %1$s', 'menu' ), + esc_html__( 'Designed with %1$s', 'the-menu' ), $wordpress_link ); ?> @@ -28,11 +28,11 @@ -

+
diff --git a/menu/patterns/gallery.php b/the-menu/patterns/gallery.php similarity index 93% rename from menu/patterns/gallery.php rename to the-menu/patterns/gallery.php index c9cd954b1..1f0632470 100644 --- a/menu/patterns/gallery.php +++ b/the-menu/patterns/gallery.php @@ -1,7 +1,7 @@
@@ -20,7 +20,7 @@
diff --git a/menu/patterns/posts-list.php b/the-menu/patterns/posts-list.php similarity index 98% rename from menu/patterns/posts-list.php rename to the-menu/patterns/posts-list.php index 447aa2603..1c1043523 100644 --- a/menu/patterns/posts-list.php +++ b/the-menu/patterns/posts-list.php @@ -1,7 +1,7 @@
-

+

diff --git a/menu/readme.txt b/the-menu/readme.txt similarity index 85% rename from menu/readme.txt rename to the-menu/readme.txt index 6489c08b0..4b553591b 100644 --- a/menu/readme.txt +++ b/the-menu/readme.txt @@ -1,4 +1,4 @@ -=== MENU === +=== The MENU === Contributors: the WordPress team Requires at least: 6.1 Tested up to: 6.2 @@ -12,14 +12,14 @@ A simple theme designed to facilitate restaurant owners' experience when buildin == Changelog == -= 0.0.1 = += 1.0.0 = * Initial release == Copyright == -MENU WordPress Theme, (C) 2023 the WordPress team -MENU is distributed under the terms of the GNU GPL. -MENU is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) +The MENU WordPress Theme, (C) 2023 the WordPress team +The MENU is distributed under the terms of the GNU GPL. +The MENU is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) 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 diff --git a/menu/screenshot.png b/the-menu/screenshot.png similarity index 100% rename from menu/screenshot.png rename to the-menu/screenshot.png diff --git a/menu/style.css b/the-menu/style.css similarity index 62% rename from menu/style.css rename to the-menu/style.css index 902ec52c6..6049924d5 100644 --- a/menu/style.css +++ b/the-menu/style.css @@ -1,6 +1,6 @@ /* -Theme Name: MENU -Theme URI: https://github.com/wordpress/menutheme/ +Theme Name: The MENU +Theme URI: https://github.com/wordpress/the-menu/ Author: the WordPress team Author URI: https://wordpress.org/themes/ Description: A simple theme designed to facilitate restaurant owners' experience when building their sites. Is clean, direct, and customizable. @@ -10,19 +10,10 @@ Requires PHP: 5.7 Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Text Domain: menu +Text Domain: the-menu Tags: food-and-drink, three-columns, wide-blocks, block-patterns, block-styles, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, flexible-header, full-site-editing, auto-loading-homepage, post-formats, rtl-language-support, style-variations, theme-options, threaded-comments, translation-ready, restaurants, menu, cuisine, food, lacarte, static, dujour, fixedmenu, bar, cafeteria, coffeeshop */ -/* - * Font smoothing - * https://github.com/WordPress/gutenberg/issues/35934 - */ -body { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; -} - /* * Control the hover stylings of outline block style. * Unnecessary once block styles are configurable via theme.json @@ -34,29 +25,6 @@ body { border-color: var(--wp--preset--color--secondary); } -/** - * Currently table styles are only available with 'wp-block-styles' - * theme support (block css) thus the following needs to be included - * since 'wp-block-styles' aren't used for this theme. - * https://github.com/WordPress/gutenberg/issues/45065 - */ -.wp-block-table thead { - border-bottom: 3px solid; -} -.wp-block-table tfoot { - border-top: 3px solid; -} -.wp-block-table td, -.wp-block-table th { - padding: var(--wp--preset--spacing--30); - border: 1px solid; - word-break: normal; -} -.wp-block-table figcaption { - font-size: var(--wp--preset--font-size--small); - text-align: center; -} - /* * Link styles * https://github.com/WordPress/gutenberg/issues/42319 diff --git a/menu/styles/cyan.json b/the-menu/styles/cyan.json similarity index 100% rename from menu/styles/cyan.json rename to the-menu/styles/cyan.json diff --git a/menu/styles/maroon.json b/the-menu/styles/maroon.json similarity index 100% rename from menu/styles/maroon.json rename to the-menu/styles/maroon.json diff --git a/the-menu/templates/404.html b/the-menu/templates/404.html new file mode 100644 index 000000000..ee17811dd --- /dev/null +++ b/the-menu/templates/404.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/menu/templates/archive.html b/the-menu/templates/archive.html similarity index 100% rename from menu/templates/archive.html rename to the-menu/templates/archive.html diff --git a/menu/templates/index.html b/the-menu/templates/index.html similarity index 69% rename from menu/templates/index.html rename to the-menu/templates/index.html index 2e770cdbd..e746fe2e0 100644 --- a/menu/templates/index.html +++ b/the-menu/templates/index.html @@ -2,8 +2,8 @@
- - + +
diff --git a/menu/templates/page.html b/the-menu/templates/page.html similarity index 100% rename from menu/templates/page.html rename to the-menu/templates/page.html diff --git a/menu/templates/search.html b/the-menu/templates/search.html similarity index 94% rename from menu/templates/search.html rename to the-menu/templates/search.html index bb127a413..e5e37b884 100644 --- a/menu/templates/search.html +++ b/the-menu/templates/search.html @@ -19,7 +19,7 @@ - + diff --git a/menu/templates/single.html b/the-menu/templates/single.html similarity index 100% rename from menu/templates/single.html rename to the-menu/templates/single.html diff --git a/menu/theme.json b/the-menu/theme.json similarity index 100% rename from menu/theme.json rename to the-menu/theme.json