/home/techb158/public_html/wp-content/themes/engitech/inc/backend
NameSizeModeActions
css/-0777rm
data/-0777rm
elementor-widgets/-0777rm
images/-0777rm
js/-0777rm
admin-functions.php8780666editdlrm
color.php101440666editdlrm
column.php23970666editdlrm
customizer.php797590666editdlrm
elementor.php235060666editdlrm
importer.php82560666editdlrm
meta-boxes.php75260666editdlrm
plugin-requires.php62890666editdlrm
post-like.php158050666editdlrm
Edit: /home/techb158/public_html/wp-content/themes/engitech/inc/backend/column.php (2397B)
add_actions(); } public function get_name() { return 'ot-content-align'; } /** * @param $element Controls_Stack * @param $section_id string */ public function register_controls( Controls_Stack $element, $section_id ) { if ( ! $element instanceof Element_Column ) { return; } $required_section_id = 'layout'; if ( $required_section_id !== $section_id ) { return; } $element->add_responsive_control( '_ot_column_min_width', [ 'label' => esc_html__( 'Min Width (px)', 'engitech' ), 'type' => Controls_Manager::SLIDER, 'default' => [ 'unit' => 'px', ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 500, ], ], 'device_args' => [ Controls_Stack::RESPONSIVE_DESKTOP => [ 'selectors' => [ '{{WRAPPER}}' => 'min-width: {{SIZE}}{{UNIT}}', ], ], Controls_Stack::RESPONSIVE_TABLET => [ 'selectors' => [ '{{WRAPPER}}' => 'min-width: {{SIZE}}{{UNIT}}', ], ], Controls_Stack::RESPONSIVE_MOBILE => [ 'selectors' => [ '{{WRAPPER}}' => 'min-width: {{SIZE}}{{UNIT}}', ], ], ], 'separator' => 'before', ] ); $element->add_control( '_ot_content_align', [ 'label' => esc_html__( 'Content Align', 'engitech' ), 'type' => Controls_Manager::CHOOSE, 'options' => [ 'vertical' => [ 'title' => esc_html__( 'Vertical', 'engitech' ), 'icon' => 'fa fa-ellipsis-v', ], 'horizontal' => [ 'title' => esc_html__( 'Horizontal', 'engitech' ), 'icon' => 'fa fa-ellipsis-h', ], ], 'default' => 'vertical', 'prefix_class' => 'ot-flex-column-', ] ); $element->update_control( 'content_position', ['prefix_class' => 'ot-column-items-',] ); } protected function add_actions() { add_action( 'elementor/element/before_section_end', [ $this, 'register_controls' ], 10, 2 ); } } new OT_Element_Column();