Skip to content

Commit

Permalink
#104 more inline docs in code examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelob9 authored Dec 16, 2017
1 parent 9e719c0 commit 35aa95f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ When you scaffold a block you must use either the theme or plugin option.
Success: Created block 'Movie block'.
# Create a new plugin and add two blocks
# Create plugin called books
$ wp scaffold plugin books
$ wp scaffold book books --title="Book" --plugin=books
$ wp scaffold books books --title="Book List" --plugin=books
# Add a block called book to plugin books
$ wp scaffold block book --title="Book" --plugin=books
# Add a second block to plugin called books.
$ wp scaffold block books --title="Book List" --plugin=books

### wp scaffold child-theme

Expand Down

0 comments on commit 35aa95f

Please sign in to comment.