You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
@@ -48,7 +49,7 @@ Querying a REST-API or GraphQL endpoint and looping over blog posts is where man
48
49
49
50
At WebDevStudios we believe that WordPress is so much more than a blog-- and our clients require support for things like: SEO, forms, previews, search, comments, authentication, custom post types, custom fields, etc...
50
51
51
-
With this starter, we've figured out the hard stuff"and placed the sum of our knowledge into something the community (and our future projects) could use as a jumping off point.
52
+
With this starter, we've figured out the "hard stuff"and placed the sum of our knowledge into something both the community and our future projects could use as a jumping off point.
52
53
53
54
### How's this all work?
54
55
@@ -185,16 +186,21 @@ Before you get started, make sure you have the following dependency installed on
185
186
186
187
**Step 3: Configure `wp-config.php`**
187
188
188
-
The follow constant needs to be in `wp-config.php`:
189
+
The follow constants needs to be in `wp-config.php`:
**Note:** Make sure your local URL matches the `LOCAL_WORDPRESS_API_URL` in the frontend `.env` file!
197
199
200
+
### Enable Previews
201
+
202
+
To enable previews, you'll need both a `PREVIEW_SECRET_TOKEN` constant in `wp-config.php` and `WORDPRESS_PREVIEW_SECRET` ENV variable in `.env`. The token can be any random string so long as they match.
0 commit comments