Release as SoloFrame Evo (#2)
* docs: Add onboarding documentation for new developers Add four comprehensive guides to help new developers get started with the VDI-Starter-v5 WordPress theme: - docs/getting-started.md: Setup from zero, local WordPress options, env config, theme activation warnings, troubleshooting - docs/architecture.md: Bootstrap flow, 7 architectural layers, namespace conventions, WP hooks cleanup, enqueue system, theme.json - docs/creating-blocks.md: Step-by-step ACF block creation tutorial, helper functions, parent-child patterns, Tailwind integration - docs/reference.md: Hooks/filters tables, design tokens, CSS import tree, JS module graph, class reference, CLI commands, deployment Update README.md: trim deep-dive API docs (moved to reference), add documentation links section, fix CSS paths (views/styles/ → styles/), add missing contact-info block, fix deployment filename typo (wpengine,yml → wpengine.yml), add backToTop.js and enqEditorAssets(), add namespace conventions table. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * docs: language graph * docs: Update readme * 🔵 other: Rename project and publish * 🔵 other: Update .gitignore
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
bcc701120b
commit
e2f6270717
+10
-10
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* BasicWP Theme Enqueue Class
|
||||
* SoloFrameEvo Theme Enqueue Class
|
||||
*
|
||||
* @package BasicWP
|
||||
* @package SoloFrameEvo
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace BasicWP;
|
||||
namespace SoloFrameEvo;
|
||||
|
||||
/**
|
||||
* Class Enqueue
|
||||
@@ -39,7 +39,7 @@ class Enqueue {
|
||||
$css_path = '/static/dist/theme.css';
|
||||
if ( file_exists( $theme_dir . $css_path ) ) {
|
||||
$version = filemtime( $theme_dir . $css_path );
|
||||
wp_enqueue_style( 'basicwp-theme', $theme_uri . $css_path, array(), $version );
|
||||
wp_enqueue_style( 'sf-evo-theme', $theme_uri . $css_path, array(), $version );
|
||||
}
|
||||
|
||||
$font_ver = gmdate( 'U' );
|
||||
@@ -53,8 +53,8 @@ class Enqueue {
|
||||
if ( file_exists( $theme_dir . $js_path ) ) {
|
||||
$version = filemtime( $theme_dir . $js_path );
|
||||
wp_enqueue_script( 'jquery' ); // Needed by downstream scripts; modules can't depend on classic scripts.
|
||||
wp_enqueue_script_module( 'basicwp-theme', $theme_uri . $js_path, array(), $version );
|
||||
wp_enqueue_script_module( 'basicwp-button', $theme_uri . '/static/js/components/button.js', array( 'basicwp-theme' ), $version );
|
||||
wp_enqueue_script_module( 'sf-evo-theme', $theme_uri . $js_path, array(), $version );
|
||||
wp_enqueue_script_module( 'sf-evo-button', $theme_uri . '/static/js/components/button.js', array( 'sf-evo-theme' ), $version );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ class Enqueue {
|
||||
$admin_css_path = '/styles/backend/admin.css';
|
||||
if ( file_exists( $theme_dir . $admin_css_path ) ) {
|
||||
$version = filemtime( $theme_dir . $admin_css_path );
|
||||
wp_enqueue_style( 'basicwp-admin', $theme_uri . $admin_css_path, array(), $version );
|
||||
wp_enqueue_style( 'sf-evo-admin', $theme_uri . $admin_css_path, array(), $version );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,8 +84,8 @@ class Enqueue {
|
||||
if ( file_exists( $theme_dir . $admin_js_path ) ) {
|
||||
$version = filemtime( $theme_dir . $admin_js_path );
|
||||
wp_enqueue_script( 'jquery' ); // Needed by downstream scripts; modules can't depend on classic scripts.
|
||||
wp_enqueue_script_module( 'basicwp-admin', $theme_uri . $admin_js_path, array(), $version );
|
||||
wp_enqueue_script_module( 'basicwp-button', $theme_uri . '/static/js/components/button.js', array( 'basicwp-admin' ), $version );
|
||||
wp_enqueue_script_module( 'sf-evo-admin', $theme_uri . $admin_js_path, array(), $version );
|
||||
wp_enqueue_script_module( 'sf-evo-button', $theme_uri . '/static/js/components/button.js', array( 'sf-evo-admin' ), $version );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ class Enqueue {
|
||||
|
||||
if ( file_exists( $theme_dir . $editor_css_path ) ) {
|
||||
$version = filemtime( $theme_dir . $editor_css_path );
|
||||
wp_enqueue_style( 'basicwp-editor', $theme_uri . $editor_css_path, array(), $version );
|
||||
wp_enqueue_style( 'sf-evo-editor', $theme_uri . $editor_css_path, array(), $version );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user