-
Notifications
You must be signed in to change notification settings - Fork 6
Render
Maxwell Carvalho edited this page Sep 27, 2017
·
2 revisions
rendering fields can be done automatically or manually. It depends on the field type an prurpose.
CSS will automatically injected on page header when passed. Other fields need to be called on your theme.
Currently, the following fields have automatic detection/rendering:
- checkbox (html)
- code (html)
- color-palette (css text/background)
- color (css text/background)
- dashicons
- dimension (css prop)
- dropdown-pages
- editor (html content)
- image (html img/css background)
- multicheck
- multicolor (css states textcolor/background)
- number (html)
- palette
- radio-buttonset
- radio-image
- radio (html)
- repeater
- select (html)
- slider (html)
- sortable
- spacing (css margin/padding/position/border)
- switch
- text (html)
- textarea (html content)
- toggle
- typography (css font)
- upload (html link)
If the default render method isn't the desired, this can be changed or removed. Customizer Generator have an list of default renders that can be used.