WordPress / developer-blog-content

In this GitHub space, WordPress team coordinates content to be published on the Developer Blog. Discussions and montly meetings (first Thu - 13:00 UTC) in WP Slack #core-dev-blog
https://developer.wordpress.org/news
40 stars 5 forks source link

A tutorial on how to create block variations #155

Closed bph closed 1 year ago

bph commented 1 year ago

Discussed in https://github.com/WordPress/developer-blog-content/discussions/154

Originally posted by **ndiego** July 30, 2023 This needs a catchy title, but the article would cover: - What are block variations - How to create block variations - Why you would want to use block variations for your own projects - 3-4 real-world examples of block variations Currently, there isn't a dedicated Dev Blog article on block variations. This article would serve as a foundational piece of content. Future articles could explore more sophisticated implementations of variations while referring back to this article for the basics.
ndiego commented 1 year ago

The draft of this article is available here: https://docs.google.com/document/d/1hPgTs4qpcwGqiSQ_2wFqjm3_xP2gHZp7ZGXvaVRh6G0/edit

ndiego commented 1 year ago

Thanks @juanmaguitar, @justintadlock, and @mburridge for the first review.

rmartinezduque commented 1 year ago

This looks great, @ndiego! I've left some minor suggestions that (I think) might improve its readability and clarity in some sentences. Feel free to accept or reject them as you see fit :)

Why you would want to use block variations for your own projects.

I see that throughout the article/examples, this point is implied and briefly mentioned in the introduction, but I think it's perhaps the least explicit. It would be great to reiterate some advantages of block variations in the closing paragraphs.

juanmaguitar commented 1 year ago

Thanks @rmartinezduque for your review! 🙏

ndiego commented 1 year ago

Thanks @rmartinezduque!

ndiego commented 1 year ago

Pre-publishing checklist:

Post-publishing checklist

ndiego commented 1 year ago

Published article: https://developer.wordpress.org/news/2023/08/an-introduction-to-block-variations/