docs: point the theme folder references at Jio, not Jio-theme
The mechanical rename turned AKSRT-theme into Jio-theme, but the directory itself is Jio. Fix the three places that name the folder (README install steps and tree, wp-cli-visual-fixtures usage comment, DocsPage docs deep-link) and rebuild the SPA bundle. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
35bb96e82f
commit
42cc64106d
4 files changed
+8
-8
No files matched your search
@@ -22,7 +22,7 @@ Jio 是一款现代化的 WordPress 主题,采用**原生 WordPress 主题架
|
||||
## 文件结构
|
||||
|
||||
```
|
||||
Jio-theme/
|
||||
Jio/
|
||||
├── functions.php # 入口:常量 + Composer autoload + bootstrap + 单例 init
|
||||
├── style.css # WordPress 主题声明头
|
||||
├── composer.json # 第三方依赖 + 主题 PSR-4(Jio\ → src/)
|
||||
@@ -113,7 +113,7 @@ php -r "require 'vendor/autoload.php'; echo class_exists('Jio\\\\Core\\\\DomainM
|
||||
|
||||
### 方式一:直接上传(推荐)
|
||||
|
||||
1. 将整个 `Jio-theme` 文件夹上传到 `wp-content/themes/`
|
||||
1. 将整个 `Jio` 文件夹上传到 `wp-content/themes/`
|
||||
2. 在服务器主题目录执行上一节的 `composer install`(若打包时已带上完整 `vendor/` 且已 `dump-autoload`,可跳过)
|
||||
3. WordPress 后台 → **外观** → **主题** → 找到 **Jio** → **激活**
|
||||
|
||||
@@ -126,7 +126,7 @@ php -r "require 'vendor/autoload.php'; echo class_exists('Jio\\\\Core\\\\DomainM
|
||||
SSH 进入主题目录后:
|
||||
|
||||
```bash
|
||||
cd /path/to/wp-content/themes/Jio-theme # 以实际路径为准
|
||||
cd /path/to/wp-content/themes/Jio # 以实际路径为准
|
||||
composer install --no-dev --optimize-autoloader
|
||||
# 或仅刷新映射:composer dump-autoload -o
|
||||
# 可选:reload php-fpm / 清 OPcache
|
||||
|
||||
@@ -118,7 +118,7 @@ onMounted(async () => {
|
||||
function openDoc(doc) {
|
||||
// Link to local docs directory (admin can open in new tab)
|
||||
const base = window.jioAdminData?.siteUrl || window.location.origin
|
||||
window.open(`${base}/wp-content/themes/Jio-theme/docs/${doc.file}`, '_blank')
|
||||
window.open(`${base}/wp-content/themes/Jio/docs/${doc.file}`, '_blank')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"generated_at": "2026-11-01T12:02:20+00:00",
|
||||
"generated_at": "2026-11-01T12:12:14+00:00",
|
||||
"errors": [],
|
||||
"warnings": [
|
||||
"customPage tools-update section 'tools/update' not in PHP schema (ok if pure operational page)",
|
||||
@@ -282,7 +282,7 @@
|
||||
"CmsCredits.B6Gorymm.js",
|
||||
"ThemeInfoPage.D4pAf5Wr.js",
|
||||
"ThemeAuthorizationPage.dha7vRbS.js",
|
||||
"DocsPage.DYMdyjJZ.js",
|
||||
"DocsPage.BvQnV-gH.js",
|
||||
"UsersVerify.DQdIZBGv.js",
|
||||
"UsersLevel.DGq7yorC.js",
|
||||
"UsersBadge.Cb8c_4zF.js",
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
* Reversible WP-CLI visual fixtures for Jio/Zibll comparison.
|
||||
*
|
||||
* Usage:
|
||||
* wp eval-file wp-content/themes/Jio-theme/tools/wp-cli-visual-fixtures.php create
|
||||
* wp eval-file wp-content/themes/Jio-theme/tools/wp-cli-visual-fixtures.php cleanup
|
||||
* wp eval-file wp-content/themes/Jio/tools/wp-cli-visual-fixtures.php create
|
||||
* wp eval-file wp-content/themes/Jio/tools/wp-cli-visual-fixtures.php cleanup
|
||||
*
|
||||
* @package Jio
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user