This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Modify a Layout Builder Widget

10 years ago · Last reply by Andrej Arh 10 years ago

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

1
  1. Andrej Arh 10 years, 3 months ago

    bump.

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.

Have a different question or issue?

Start New Thread