HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux srvntsweb01 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: admntserv (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/prestitravel.com/wp-content/themes/itfirm/inc/elementor/elementor-column-structure.php
<?php
// Add custom field to column
if(!function_exists('itfirm_custom_column_params')){
    add_filter('ct-custom-column/custom-params', 'itfirm_custom_column_params');
    function itfirm_custom_column_params(){
        return array(
            'sections' => array(
                array(
					'name'     => 'custom_section',
					'label'    => esc_html__( 'Case Settings', 'itfirm' ),
					'tab'      => \Elementor\Controls_Manager::TAB_LAYOUT,
					'controls' => array(
                        array(
							'name'    => 'col_sticky',
							'label'   => esc_html__( 'Column Sticky', 'itfirm' ),
							'type'    => \Elementor\Controls_Manager::SELECT,
							'options' => array(
								'none'           => esc_html__( 'No', 'itfirm' ),
								'sticky' => esc_html__( 'Yes', 'itfirm' ),
                            ),
                            'default' => 'none',
                            'prefix_class' => 'ct-column-'
                        ),
                        array(
                            'name'    => 'col_offset',
                            'label'   => esc_html__( 'Column Offset', 'itfirm' ),
                            'type'    => \Elementor\Controls_Manager::SELECT,
                            'options' => array(
                                'none'           => esc_html__( 'No', 'itfirm' ),
                                'left' => esc_html__( 'Left Container', 'itfirm' ),
                                'right' => esc_html__( 'Right Container', 'itfirm' ),
                                'left-xl' => esc_html__( 'Left XL', 'itfirm' ),
                                'right-xl' => esc_html__( 'Right XL', 'itfirm' ),
                            ),
                            'default' => 'none',
                            'prefix_class' => 'col-offset-'
                        )
                    )
                )
            )
        );
    }
}