Skip to content

Commit

Permalink
Readme: Remove outdated publishing step
Browse files Browse the repository at this point in the history
Adding the page to `$new_theme_pages` is no longer necessary as of b44b16d
  • Loading branch information
iandunn authored Nov 7, 2023
1 parent 9acce66 commit be6a0a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Once set up, this environment will contain some shared plugins (Jetpack, Gutenbe

### Prerequisites

* Docker
* DockerF
* Node/npm
* Yarn
* Composer
Expand Down Expand Up @@ -168,8 +168,6 @@ Add the new page to `./env/page-manifest.json`. Use the following format, where
},
```

Add the page URL to `$new_theme_pages` in `./source/wp-content/mu-plugins/theme-switcher.php`.

Start up the local environment using `yarn wp-env start`. Create the page in your local environment.

Run `yarn build:patterns`. This creates the pattern synced from the remote page content, and creates the page template which references the new pattern. View the new page, it should use the new theme & synced content.
Expand Down

0 comments on commit be6a0a6

Please sign in to comment.