Skip to content

Commit ff967e4

Browse files
committed
add child theme docs
1 parent a85d80a commit ff967e4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

v6/install-via-plugin.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ define('TYPEROCKET_AUTOLOAD_APP', [
6464
]);
6565
```
6666

67-
## Child Theme Override Folders
68-
69-
If you are using a child theme, TypeRocket will not automatically detect your override folder. you will need to manually set the override folder path in your `wp-config.php` file using the constant `TYPEROCKET_OVERRIDE_PATH`.
70-
71-
```php
72-
// Root WordPress customizations
73-
define('TYPEROCKET_CORE_CONFIG_PATH', __DIR__ . '/path/to/my/child/theme/folder');
74-
```
75-
7667
### Pro Upgrade Overrides
7768

7869
If you are upgrading from the free plugin to the TypeRocket Pro plugin you will also need to copy some configuration files from the plugin itself into your `config` overrides folder. The config files can be found under `typerocket-pro-v6/typrocket/config`. The files include:
@@ -123,4 +114,13 @@ define('TYPEROCKET_AUTOLOAD_APP', [
123114
'prefix' => 'App',
124115
'folder' => $overrides . '/app',
125116
]);
117+
```
118+
119+
## Child Theme Override Folders
120+
121+
If you are using a child theme, TypeRocket will not automatically detect your override folder. you will need to manually set the override folder path in your `wp-config.php` file using the constant `TYPEROCKET_OVERRIDE_PATH`.
122+
123+
```php
124+
// Root WordPress customizations
125+
define('TYPEROCKET_OVERRIDE_PATH', __DIR__ . '/path/to/my/child/theme/folder');
126126
```

0 commit comments

Comments
 (0)