Modify a Layout Builder Widget
My goal:
Create a modified Layout Builder Widget to be used in “mega menu” type of widget area.
Modifications include:
– adding a title
– adding an icon
The problem:
Layout Builder Widget doesn’t seem to use $form_options as other SO widgets do. (I guess) it can’t be called with $form_options like for example icons can:
ie:
$form_options = array(
'some_icon' => array(
'type' => 'icon',
'label' => __('Select an icon', 'widget-form-fields-text-domain'),
)
)Is there another way to get the layout builder functionality inside a custom widget?
Thanks.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1bump.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.