-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/wdsus 7 implement wp cli #1006
Feature/wdsus 7 implement wp cli #1006
Conversation
…cks folder from `src/blocks` to `/blocks` | css intead of scss
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guzmandrade-wds Thanks! I'ved added in some comments, we will need to remove any styles from the generator. Also there's a function that was added by Inna: register_wds_category
if you can hook into that so that any generated block will automatically be added to that category. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @guzmandrade-wds
Closes #WDSUS-7
Adds initial support for WP-CLI command
wp abs create_portable_block
.What type of PR is this? (put an x to all applicable)
Link to test
On a terminal run the following WP-CLI command
Which should create a new folder
blocks/myblock
(the command will fail if the folder already exists) withblock.json
and other files used to register the ACF Block.the block should be available on the block selector under the category
WDS Blocks
:Description
Call To Action
Example (included in this PR) was created with:Edit page:
Frontend and preview:
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings
Added tests?
Added to documentation?
Others
[optional] Are there any post-deployment tasks we need to perform?