From 438619c4d97984d5b27a8e00d743e81f82941e3c Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Tue, 21 May 2024 12:50:58 -0600 Subject: [PATCH] Added axeweb-block classNames to blocks in Elementor --- .../wordpress/templates/helpers/Template_Elementor_Widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/wordpress/templates/helpers/Template_Elementor_Widget.php b/platforms/wordpress/templates/helpers/Template_Elementor_Widget.php index 10125ac..ff2e7c8 100644 --- a/platforms/wordpress/templates/helpers/Template_Elementor_Widget.php +++ b/platforms/wordpress/templates/helpers/Template_Elementor_Widget.php @@ -40,7 +40,7 @@ class <%= blockClassModel %>_Elementor_Widget extends \Elementor\Widget_Base { } public static function prepare( $args ): array { - // Prepare $args for render function. + $args['section_class'] = 'axeweb-block'; return $args; } }