creativecommons / creativecommons/creativecommons-base
RFC: switch "featured content" and "donate" features to be generic WordPress block areas
- Dominant language
- PHP
- Stars
- 11
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
The `creativecommons-base` theme currently defines theme configuration forms and templates for two specific components:
- featured conetent
- donation appeal
However, the hard-coded nature of these templates may be inflexible while introducing a maintenance burden to the project.
## Description
Consider creating two generic theme block areas, such as `below_header` and `above_footer` wherein we can place Gutenberg blocks. For example, there can be a separate project for CC-specific Gutenberg blocks such as a Donation Appeal Block and a Featured Content Card block.
## Additional context
WordPress 5.8 allows developers to define template regions that can contain Gutenberg blocks.


- https://make.wordpress.org/core/2021/06/29/block-based-widgets-editor-in-wordpress-5-8/
- https://jbaker.media/blog/using-block-areas-with-wordpress-gutenberg/
Contributor guide
Assessment
This issue has not been assessed yet.