~/talk

Dynamic Customizer: The JavaScript API

Talkat WordCamp Miami 2018 · 2018-03-16..03-18· [wordpress, javascript]
slides:none on file

Shows how the Customizer JavaScript API creates dynamic settings (add/remove slider items on demand), lazy-loads post data via the REST API, and wires controls to the preview with two-way binding and selective-refresh partials. Demonstrates creating controls in JS instead of PHP, client-side validation (example: enforcing capital "P" in WordPress), drag‑and‑drop reordering with jQuery UI, and useful plugins like customize-browser-history; examples run live in the Customizer console and the patterns work as shown.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:30Customizer background and benefits
  3. 7:33Customizer architecture overview
  4. 11:29PHP vs JavaScript API
  5. 13:55Dynamic settings with JavaScript
  6. 18:58JavaScript API basics and examples
  7. 21:37WP.Customize object and events
  8. 24:47Practical JavaScript customizer tips
  9. 25:38Future of customizer with Gutenberg
  10. 26:41Development tools and resources
  11. 28:26Q&A and closing remarks
~/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.