Publish a Style Guide
This command will publish our /style-guide and its child pages.
- /style-guide/kitchen-sink
Popular HTML elements to assist with the validation of base CSS styling. - /style-guide/blocks
A curated selection of page builder blocks that are commonly used. - /style-guide/patterns
All the block patterns that have been registered in the theme.
All pages are made private, so they are only visible to website editors and will not be presented to search engines.
caution
Existing content at any of the above paths will be overwritten.
Running the command
By default it will ask for confirmation before overwriting each page but adding --force
will instruct the command to automatically overwrite the pages without asking.
wp eighteen73 style-guide
# or to suppress overwrite warnings
wp eighteen73 style-guide --force
tip
If you have an alias set up you can use this to publish content to a live website as follows:
wp @production eighteen73 style-guide