~/talk

ACF and Twig for Gutenberg Custom Blocks

Talkat WordCamp Asheville 2019 · 2019-06-08..06-09· [wordpress, javascript]
links:none on file
slides:none on file

Argument: build Gutenberg blocks by register blocks in PHP with ACF, add ACF fields, and render with Timber/Twig so templates stay clean and avoid heavy React. Implementation shows a reusable MVC-ish pattern: one model (block registration), one view (twig template) and per-block enqueued assets. About 15 curated blocks covers typical sites; blocks must be registered in code (not GUI) for versioning and portability. Workflow reports acceptable performance and simpler maintenance compared with full JSX state management.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:39Gutenberg adoption and ACF integration
  3. 6:44ACF 5.8 and block registration
  4. 8:11Twig and Timber integration
  5. 15:19Twig templates and code examples
  6. 21:54Live demo of ACF blocks
  7. 27:49Q&A on workflow and portability
  8. 34:23Portability of custom blocks
  9. 43:53GUI vs code registration
  10. 47:12Performance and security considerations
  11. 55:22Summary and next steps
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.