docs(tools): clarify that Bricks is a theme, not a plugin
The Bricks ZIP cannot be installed via WP admin → Plugins → Add New → Upload (it returns "No valid plugins were found"). Update tools/README.md to make the distinction explicit and provide both PowerShell and admin paths for each install. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,8 +17,17 @@ Quick recap :
|
|||||||
-Path "C:\Users\j_foucher\Local Sites\asterion-2026\app\public\wp-content\themes\asterion-bricks" `
|
-Path "C:\Users\j_foucher\Local Sites\asterion-2026\app\public\wp-content\themes\asterion-bricks" `
|
||||||
-Target "C:\ASTERION\GIT\WP2026\wp-content\themes\asterion-bricks"
|
-Target "C:\ASTERION\GIT\WP2026\wp-content\themes\asterion-bricks"
|
||||||
```
|
```
|
||||||
5. Extract the Bricks parent theme: `Expand-Archive ThirdParty\bricks.2.3.4.zip "<NEW_SITE>\app\public\wp-content\themes\"`
|
5. Extract the Bricks parent **theme** into `wp-content/themes/`. Bricks is a theme (not a plugin) — installing the ZIP via WP admin → Plugins → Add New will fail with "No valid plugins were found".
|
||||||
6. Extract WPML: `Expand-Archive ThirdParty\sitepress-multilingual-cms.4.9.3.zip "<NEW_SITE>\app\public\wp-content\plugins\"`
|
```powershell
|
||||||
|
$site = "C:\Users\j_foucher\Local Sites\asterion-2026\app\public\wp-content"
|
||||||
|
Expand-Archive "C:\ASTERION\GIT\WP2026\ThirdParty\bricks.2.3.4.zip" "$site\themes\" -Force
|
||||||
|
```
|
||||||
|
(Or via WP admin → Appearance → Themes → Add New Theme → Upload Theme.)
|
||||||
|
6. Extract WPML **plugin** into `wp-content/plugins/`:
|
||||||
|
```powershell
|
||||||
|
Expand-Archive "C:\ASTERION\GIT\WP2026\ThirdParty\sitepress-multilingual-cms.4.9.3.zip" "$site\plugins\" -Force
|
||||||
|
```
|
||||||
|
(Or via WP admin → Plugins → Add New → Upload Plugin.)
|
||||||
7. Copy `tools/fresh-setup-mu-plugin.php` → `<NEW_SITE>\app\public\wp-content\mu-plugins\fresh-setup-mu-plugin.php`
|
7. Copy `tools/fresh-setup-mu-plugin.php` → `<NEW_SITE>\app\public\wp-content\mu-plugins\fresh-setup-mu-plugin.php`
|
||||||
8. Visit `http://localhost:10004/` once. The plugin runs at `init` priority 50, configures everything, and self-deletes after success.
|
8. Visit `http://localhost:10004/` once. The plugin runs at `init` priority 50, configures everything, and self-deletes after success.
|
||||||
9. Verify by hitting `http://localhost:10004/wp-admin` — login, then check that:
|
9. Verify by hitting `http://localhost:10004/wp-admin` — login, then check that:
|
||||||
|
|||||||
Reference in New Issue
Block a user