Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
This problem is the same link : https://siteorigin.com/thread/custom-page-builder-widget-groups-not-working/
I’ve tried these steps. I did not work.
Hi Yalcinkaya,
Can you please send me a copy of the code you’re using so I can check over it?
Hi Alex,
Thank you for your answer. I realized my mistake. Write code for a long time. Sometimes people don’t notice little mistakes. I wrote panel groups instead of Panels Groups :)
I noticed when I wrote the following reply.
/* Load Widgets */ function add_my_awesome_widgets_collection( $folders ) { $folders[] = BASEPATH . '/widgets/'; return $folders; } add_filter( 'siteorigin_widgets_widget_folders', 'add_my_awesome_widgets_collection' ); function mytheme_add_widget_tabs($tabs) { $tabs['mytheme'] = array( 'title' => __('My Tab', 'mytheme'), 'filter' => array( 'groups' => array('mytheme') ) ); return $tabs; } add_filter('siteorigin_panels_widget_dialog_tabs', 'mytheme_add_widget_tabs', 20);The code of the class I prepared :
class SiteOrigin_Widget_SliderSlick extends SiteOrigin_Widget { function __construct() { parent::__construct( 'ty-slider-slick', __( 'SiteOrigin Slider Slick', 'so-widgets-bundle' ), array( 'description' => __( 'A simple Slider Slick.', 'so-widgets-bundle' ), 'help' => 'http://example.com/hello-world-widget-docs', 'panel_groups' => array('mytheme') // Incorrect code :) ) ); } . . .