| Server IP : 216.250.13.251 / Your IP : 216.73.217.37 Web Server : nginx/1.24.0 System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/editor/ |
Upload File : |
<?php
/*
*
* Icons
* [rt_heading]
*
*/
vc_map(
array(
'base' => 'icon',
'name' => __( 'Icon','rt_theme' ),
'icon' => 'rt_theme rt_icon',
'category' => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
'description' => __( 'Add a theme icon.','rt_theme' ),
'params' => array(
array(
'param_name' => 'icon_name',
'heading' => __('Icon Name','rt_theme' ),
'description' => __('Click inside the field to select an icon or type the icon name','rt_theme' ),
'type' => 'textfield',
'class' => 'icon_selector'
),
array(
'param_name' => 'align',
'heading' => __( 'Text Align','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("Default",'rt_theme') => "",
__("Left",'rt_theme') => "left",
__("Right",'rt_theme') => "right",
__("Center",'rt_theme') => "center",
),
'save_always' => true
),
array(
'param_name' => 'color_type',
'heading' => _x( 'Icon Color', 'Admin Panel','rt_theme' ),
'type' => 'dropdown',
"value" => array(
_x("Text Color", 'Admin Panel','rt_theme') => "text",
_x("Primary Color", 'Admin Panel','rt_theme') => "primary",
_x("Custom Color", 'Admin Panel','rt_theme') => "custom",
),
'save_always' => true
),
array(
'param_name' => 'color',
'heading' => _x('Custom Icon Color', 'Admin Panel','rt_theme' ),
'type' => 'colorpicker',
"dependency" => array(
"element" => "color_type",
"value" => array("custom")
),
),
array(
'param_name' => 'background_color',
'heading' => _x('Custom Background Color', 'Admin Panel','rt_theme' ),
'type' => 'colorpicker',
"dependency" => array(
"element" => "color_type",
"value" => array("custom")
),
),
array(
'param_name' => 'font_size',
'heading' => _x('Custom Icon Size (px)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number'
),
array(
'param_name' => 'border_color',
'heading' => _x('Border Color', 'Admin Panel','rt_theme' ),
'type' => 'colorpicker'
),
array(
'param_name' => 'border_width',
'heading' => _x('Border Width (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number'
),
array(
'param_name' => 'border_radius',
'heading' => _x('Border Radius (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number'
),
array(
'param_name' => 'id',
'heading' => _x('ID', 'Admin Panel','rt_theme' ),
'description' => _x('Unique ID', 'Admin Panel','rt_theme' ),
'type' => 'textfield',
'value' => ''
),
array(
'param_name' => 'class',
'heading' => _x('Class', 'Admin Panel','rt_theme' ),
'description' => _x('CSS Class Name', 'Admin Panel','rt_theme' ),
'type' => 'textfield'
),
array(
'param_name' => 'margin_top',
'heading' => _x( 'Margin Top', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set margin top value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Margins', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'margin_bottom',
'heading' => _x( 'Margin Bottom', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set margin bottom value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Margins', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'margin_left',
'heading' => _x( 'Margin Left', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set margin left value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Margins', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'margin_right',
'heading' => _x( 'Margin Right', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set margin right value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Margins', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'padding_top',
'heading' => _x( 'Padding Top', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set padding top value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Paddings', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'padding_bottom',
'heading' => _x( 'Padding Bottom', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set padding bottom value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Paddings', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'padding_left',
'heading' => _x( 'Padding Left', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set padding left value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Paddings', 'Admin Panel','rt_theme' ),
),
array(
'param_name' => 'padding_right',
'heading' => _x( 'Padding Right', 'Admin Panel','rt_theme' ),
'description' => _x( 'Set padding right value (px,%)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
'group' => _x( 'Paddings', 'Admin Panel','rt_theme' ),
),
)
)
);
?>