Home New Guten Forums WoodMart support forum Disable unused Xtemos’s elements or Elementor’s widgets

Disable unused Xtemos’s elements or Elementor’s widgets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #483493

    ahmed.skatessports
    Participant

    Hi, I am using elementor and elementor pro on my site. After installing Woodmart theme I also get Xtemos’s own elements in the elementor’s widget panel. 80% of these widgets are unnecessary for me but it’s using the server resources and php memory which can slow down a website’s performance.

    Please tell me how can I disable Xtemos’s elements or Elementor’s own unused widgets.

    See the Screenshot below:

    Attachments:
    You must be logged in to view attached files.
    #483891

    Hello,

    Unfortunately, there is no option. Please add this code to the functions.php of the child theme.

    add_action('init', function () {
    	remove_action( 'elementor/widgets/register', array( XTS\Elementor\Elementor::get_instance(), 'register_widgets' ) );
    });

    If you have any questions please feel free to contact us.

    Best Regards

    #484056

    ahmed.skatessports
    Participant

    Hello,

    Is this code to disable Xtemos’ elements or Elementor’ widgets or both? I think it will disable all of the Xtemos’ or Elementor’s widgets.

    As I told you 80% is unnecessary but am using 20% of Xtemos’ and Elementor’s widgets mixed. It would be helpful if you could provide a code to disable specific Xtemos’ and Elementor’s widgets because am using some from Elementor and Some from Xtemos.
    Thanks

    #484166

    Hello,

    This code disables all the WoodMart elements. At the same time, it is not possible to disable certain elements.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)