Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatate committed Dec 19, 2023
1 parent 7e3c660 commit 90da13c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
9 changes: 7 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

namespace PressWindStarter;


// not defined => development
if (!defined('WP_ENV')) {
define('WP_ENV', 'development');
}


// gutenberg setup, change like you want
require_once dirname(__FILE__) . '/inc/gutenberg.php';
// auto loading acf blocks
require_once dirname(__FILE__) . '/inc/acf_blocks.php';
// auto loading login assets
require_once dirname(__FILE__) . '/inc/login_assets.php';


Expand All @@ -29,13 +32,15 @@ function setup()

add_theme_support('post-thumbnails');

load_theme_textdomain('press-wind', get_template_directory() . '/languages');
// load i18n text
load_theme_textdomain('press-wind-theme', get_template_directory() . '/languages');
}

add_action('after_setup_theme', __NAMESPACE__ . '\setup');

/**
* init assets front
* require presswind plugin to work
*/
if (class_exists('PressWind\PWVite')) {

Expand Down
10 changes: 5 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*
Theme Name: Press Wind
Theme Name: Press Wind Starter
Theme URI: https://wp-performance.com/press-wind/
Author: WP Preformance
Author: WP Performance
Author URI: https://wp-performance.com
Description: Theme base with Tailwind CSS and Vite JS
Description: Theme starter for use Tailwind CSS and Vite JS
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 7.4
Version: 0.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: press-wind
Text Domain: press-wind-theme
Tags: tailwind, vite
Press Wind WordPress Theme, (C) 2022 wp-performance.com
Press Wind is distributed under the terms of the GNU GPL.
Press Wind is distributed under the terms of the MIT.
*/

0 comments on commit 90da13c

Please sign in to comment.