I using Elementor via Press Elements on WordPress to make my custom theme dynamic with making widget, It's my first time, I successed somehow, but there is a small problem, my widget not list in widget lists, but it find when I search via search bar, but I want to show in list by default, like the others.
I followed this steps to create widget, what I missed?
- Create my php file for widget
- assaign to
press-elements.php
code:
private function register_widgets()
{
\Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \PressElements\Widgets\Members() );
}
and:
private function include_widgets()
{
require_once __DIR__ . '/widgets/Members.php';
}
That's all
This is list:
And when I search:


get_categories? if true, share it. - Pedrampublic function get_categories() { return [ 'pmc-widget' ]; }- tour travel