never fear, the customizer is here!
Post on 10-Feb-2017
350 Views
Preview:
TRANSCRIPT
Never Fear, The
Customizer Is Here!
This Is Jane
She Has A Lovely
WordPress Blog
She Wants To Add A New
Widget...
And...
Wouldn’t It Be Great If We
Could Preview Changes First?
Never Fear, The Customizer
Is Here!
What Is The Customizer?
What Can You Do With The
Customizer?
•
•
•
•
•–
–
–
–
–
–
–
–
–
–
Plugins
•
•
•
•
•
Improvements in 4.5
•–
–
–
–
–
–
•
•
•
•
Anatomy of a Customizer Setting
Elements of Customizer
Settings
•
•
•
•
•
Settings
•
•
–
Controls
•
•–
–
–
–
–
–
•
Sections
•
•–
–
–
–
–
–
–
–
Panels
•
•
•
•
•
Live Preview
•
•
•
Updating The Preview (Pre
4.5)
Updating The Preview (Post
4.5)
Our First Customizer
Setting
Hook a function onto
customize_register
Add Setting
Add Control
Add Selective Refresh
Selective Refresh Fallback
Add The Style Tag To Target
Keep It DRY
Move that line into its own function replace it with the function call
All Together Now
Documentation
•
•
•
Resources
•
–
–
•
•
Community
Cameron Jones
top related