From bc874f71592812ec3031cd8541b8caf7261a2008 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 26 Jul 2023 19:23:21 -0700 Subject: [PATCH] rename chuck-theme --- .wp-env.json.default | 1 - chuck-theme/parts/footer.html | 1 - {chuck-theme => transsocial-theme}/.gitignore | 0 .../assets/css/blocks/post-title.css | 0 ...nssocial-logo-ts-palm-colors-version-2.png | Bin .../functions.php | 26 +++++++++--------- .../parts/comments.html | 0 transsocial-theme/parts/footer.html | 1 + .../parts/header.html | 0 .../patterns/footer.php | 4 +-- {chuck-theme => transsocial-theme}/readme.txt | 0 {chuck-theme => transsocial-theme}/style.css | 4 +-- .../templates/404.html | 0 .../templates/home.html | 0 .../templates/index.html | 0 .../templates/no-title.html | 0 .../templates/page.html | 0 .../templates/search.html | 0 .../templates/single.html | 0 {chuck-theme => transsocial-theme}/theme.json | 0 20 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 chuck-theme/parts/footer.html rename {chuck-theme => transsocial-theme}/.gitignore (100%) rename {chuck-theme => transsocial-theme}/assets/css/blocks/post-title.css (100%) rename {chuck-theme => transsocial-theme}/assets/images/transsocial-logo-ts-palm-colors-version-2.png (100%) rename {chuck-theme => transsocial-theme}/functions.php (76%) rename {chuck-theme => transsocial-theme}/parts/comments.html (100%) create mode 100644 transsocial-theme/parts/footer.html rename {chuck-theme => transsocial-theme}/parts/header.html (100%) rename {chuck-theme => transsocial-theme}/patterns/footer.php (90%) rename {chuck-theme => transsocial-theme}/readme.txt (100%) rename {chuck-theme => transsocial-theme}/style.css (96%) rename {chuck-theme => transsocial-theme}/templates/404.html (100%) rename {chuck-theme => transsocial-theme}/templates/home.html (100%) rename {chuck-theme => transsocial-theme}/templates/index.html (100%) rename {chuck-theme => transsocial-theme}/templates/no-title.html (100%) rename {chuck-theme => transsocial-theme}/templates/page.html (100%) rename {chuck-theme => transsocial-theme}/templates/search.html (100%) rename {chuck-theme => transsocial-theme}/templates/single.html (100%) rename {chuck-theme => transsocial-theme}/theme.json (100%) diff --git a/.wp-env.json.default b/.wp-env.json.default index 22c03d7..5458b9f 100644 --- a/.wp-env.json.default +++ b/.wp-env.json.default @@ -5,7 +5,6 @@ "./chucks-responsive-flex-container" ], "themes": [ - "./chuck-theme", "./transsocial-theme" ] } diff --git a/chuck-theme/parts/footer.html b/chuck-theme/parts/footer.html deleted file mode 100644 index 0b80b68..0000000 --- a/chuck-theme/parts/footer.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/chuck-theme/.gitignore b/transsocial-theme/.gitignore similarity index 100% rename from chuck-theme/.gitignore rename to transsocial-theme/.gitignore diff --git a/chuck-theme/assets/css/blocks/post-title.css b/transsocial-theme/assets/css/blocks/post-title.css similarity index 100% rename from chuck-theme/assets/css/blocks/post-title.css rename to transsocial-theme/assets/css/blocks/post-title.css diff --git a/chuck-theme/assets/images/transsocial-logo-ts-palm-colors-version-2.png b/transsocial-theme/assets/images/transsocial-logo-ts-palm-colors-version-2.png similarity index 100% rename from chuck-theme/assets/images/transsocial-logo-ts-palm-colors-version-2.png rename to transsocial-theme/assets/images/transsocial-logo-ts-palm-colors-version-2.png diff --git a/chuck-theme/functions.php b/transsocial-theme/functions.php similarity index 76% rename from chuck-theme/functions.php rename to transsocial-theme/functions.php index b2c920a..4cc42dc 100644 --- a/chuck-theme/functions.php +++ b/transsocial-theme/functions.php @@ -1,10 +1,10 @@ . @@ -50,8 +50,8 @@ if (!function_exists('chucktheme_setup')) : // * Add support for two custom navigation menus. // */ // register_nav_menus( array( - // 'primary' => __( 'Primary Menu', 'chucktheme' ), - // 'secondary' => __( 'Secondary Menu', 'chucktheme' ), + // 'primary' => __( 'Primary Menu', 'transsocial-theme' ), + // 'secondary' => __( 'Secondary Menu', 'transsocial-theme' ), // ) ); // /** @@ -83,13 +83,13 @@ if (!function_exists('chucktheme_setup')) : // return preg_replace($pattern, $replacement, $blockContent); // }, 10, 2); } -endif; // chucktheme_setup -add_action('after_setup_theme', 'chucktheme_setup'); +endif; // transsocial-theme_setup +add_action('after_setup_theme', 'transsocial-theme_setup'); -if (!function_exists('chucktheme_enqueue')) : - function chucktheme_enqueue() +if (!function_exists('transsocial-theme_enqueue')) : + function transsocial-theme_enqueue() { wp_enqueue_style('style', get_stylesheet_uri()); } endif; -add_action('wp_enqueue_scripts', 'chucktheme_enqueue'); +add_action('wp_enqueue_scripts', 'transsocial-theme_enqueue'); diff --git a/chuck-theme/parts/comments.html b/transsocial-theme/parts/comments.html similarity index 100% rename from chuck-theme/parts/comments.html rename to transsocial-theme/parts/comments.html diff --git a/transsocial-theme/parts/footer.html b/transsocial-theme/parts/footer.html new file mode 100644 index 0000000..395261b --- /dev/null +++ b/transsocial-theme/parts/footer.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/chuck-theme/parts/header.html b/transsocial-theme/parts/header.html similarity index 100% rename from chuck-theme/parts/header.html rename to transsocial-theme/parts/header.html diff --git a/chuck-theme/patterns/footer.php b/transsocial-theme/patterns/footer.php similarity index 90% rename from chuck-theme/patterns/footer.php rename to transsocial-theme/patterns/footer.php index aeb4829..e70e77e 100644 --- a/chuck-theme/patterns/footer.php +++ b/transsocial-theme/patterns/footer.php @@ -1,7 +1,7 @@ -
<?php echo esc_attr_e( 'TransSOCIAL Logo', 'chucktheme' ); ?>
+
<?php echo esc_attr_e( 'TransSOCIAL Logo', 'transsocial-theme' ); ?>
diff --git a/chuck-theme/readme.txt b/transsocial-theme/readme.txt similarity index 100% rename from chuck-theme/readme.txt rename to transsocial-theme/readme.txt diff --git a/chuck-theme/style.css b/transsocial-theme/style.css similarity index 96% rename from chuck-theme/style.css rename to transsocial-theme/style.css index d560f1a..b391a46 100644 --- a/chuck-theme/style.css +++ b/transsocial-theme/style.css @@ -1,5 +1,5 @@ /* -Theme Name: chucktheme +Theme Name: transsocial-theme Author: Chuck Dries Author URI: https://chuckdries.com Description: A simple but vibrant theme for TransSOCIAL @@ -9,7 +9,7 @@ Requires PHP: The oldest PHP version supported, in X.X format, only the number. Version: 0.0.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Text Domain: chucktheme +Text Domain: transsocial-theme Tags: */ diff --git a/chuck-theme/templates/404.html b/transsocial-theme/templates/404.html similarity index 100% rename from chuck-theme/templates/404.html rename to transsocial-theme/templates/404.html diff --git a/chuck-theme/templates/home.html b/transsocial-theme/templates/home.html similarity index 100% rename from chuck-theme/templates/home.html rename to transsocial-theme/templates/home.html diff --git a/chuck-theme/templates/index.html b/transsocial-theme/templates/index.html similarity index 100% rename from chuck-theme/templates/index.html rename to transsocial-theme/templates/index.html diff --git a/chuck-theme/templates/no-title.html b/transsocial-theme/templates/no-title.html similarity index 100% rename from chuck-theme/templates/no-title.html rename to transsocial-theme/templates/no-title.html diff --git a/chuck-theme/templates/page.html b/transsocial-theme/templates/page.html similarity index 100% rename from chuck-theme/templates/page.html rename to transsocial-theme/templates/page.html diff --git a/chuck-theme/templates/search.html b/transsocial-theme/templates/search.html similarity index 100% rename from chuck-theme/templates/search.html rename to transsocial-theme/templates/search.html diff --git a/chuck-theme/templates/single.html b/transsocial-theme/templates/single.html similarity index 100% rename from chuck-theme/templates/single.html rename to transsocial-theme/templates/single.html diff --git a/chuck-theme/theme.json b/transsocial-theme/theme.json similarity index 100% rename from chuck-theme/theme.json rename to transsocial-theme/theme.json