You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In terms of setup the plan is to have two CPT's with some meta fields etc. One of them already has all the templates properly configured & built and the other one is bare bones with only the CPT itself built out. Tasks then are creating the various templates etc.
Proposed Structure:
Lesson 1: Anatomy of a block based theme
Lesson 2: Creating a new single template for a CPT
Lesson 3: Displaying meta fields in the custom template
Lesson 4: Making sure the meta fields are editable in the admin
Lesson 5: Creating a new archive template for the CPT
Lesson 6: Extending the Query Loop
Lesson 7: Working with patterns (inserter false, the wp:pattern block, etc.)
The text was updated successfully, but these errors were encountered:
@fabiankaegy Can you clarify a little on how you envision lessons 3 & 4? Are you thinking of using meta fields via block bindings or as small atomic blocks (or both?). Or is there a third way I'm not thinking of?
@colinswinney I think we'll have to showcase both and add a bit more context about when to choose what.
Block bindings are great when the field is never conditional. But more often than not I end up needing atomic custom blocks because as of right now block bindings also aren't editable when they are used inside a template. Which is not the case for atomic blocks. They can be editable in the template
This tracking issue is for defining the overall stricture of the Block Based Theme training section of the site.
The training itself happens using the https://github.com/10up/block-based-theme-training repository.
In terms of setup the plan is to have two CPT's with some meta fields etc. One of them already has all the templates properly configured & built and the other one is bare bones with only the CPT itself built out. Tasks then are creating the various templates etc.
Proposed Structure:
wp:pattern
block, etc.)The text was updated successfully, but these errors were encountered: