Widgets Bundle Developer Docs
The SiteOrigin Widgets Bundle includes a framework for building your own widgets. You describe a widget's form as an array of fields, and the Widgets Bundle builds the form, sanitizes and stores the values, and renders the widget with your PHP template and LESS stylesheet.
You can also extend our existing widgets with your own templates, styles and form fields, for example a Button Widget style that matches your theme.
Topics
Getting Started
Form Building
- Form Fields
- Repeaters and Sections
- Presets
- Post Selector
- Input Sanitization
- Icons and Fonts
- Adding Custom Fields
- Modifying Forms
- Modifying Forms With State Emitters
- Overriding Form Fields
- Link Form Field Filters
- Global Widget Settings