| 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
/*
*
* Seperator
*
*/
vc_map_update( 'vc_separator', array(
'category' => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
));
//remove vc_row params
rt_vc_remove_param('vc_separator', array('color','el_width','el_class','style','accent_color','css','align','border_width'));
vc_add_param( 'vc_separator',array(
'param_name' => 'style',
'heading' => __( 'Style','rt_theme' ),
'description' => __( 'Select a style','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("Style One - Three Circle",'rt_theme') => "style-1",
__("Style Two - Small Left Aligned Line",'rt_theme') => "style-2",
__("Style Three - With Down Arrow",'rt_theme') => "style-3",
__("Style Four - Classic One Line",'rt_theme') => "style-4",
__("Style Five - Double Line",'rt_theme') => "style-5",
__("Style Six - Small Center Aligned Line",'rt_theme') => "style-6",
),
'save_always' => true
));
vc_add_param( 'vc_separator', array(
'param_name' => 'color',
'heading' => __( 'Custom Color','rt_theme' ),
'description' => __( 'Color of the border.','rt_theme' ),
'type' => 'colorpicker',
"dependency" => array(
"element" => "style",
"value" => array("style-2","style-4","style-5","style-6")
),
));
vc_add_param( 'vc_separator', array(
'param_name' => 'border_width',
'heading' => __( 'Custom Border Width','rt_theme' ),
'description' => __( 'Set border width value (px)','rt_theme' ),
'type' => 'rt_number',
"dependency" => array(
"element" => "style",
"value" => array("style-2","style-4","style-5","style-6")
),
));
vc_add_param( 'vc_separator', array(
'param_name' => 'margin_top',
'heading' => __( 'Custom Margin Top','rt_theme' ),
'description' => __( 'Set margin top value (px) Default is 40px','rt_theme' ),
'type' => 'rt_number',
));
vc_add_param( 'vc_separator', array(
'param_name' => 'margin_bottom',
'heading' => __( 'Custom Margin Bottom','rt_theme' ),
'description' => __( 'Set margin bottom value (px) Default is 40px','rt_theme' ),
'type' => 'rt_number',
));
vc_add_param( 'vc_separator', array(
'param_name' => 'width',
'heading' => __( 'Custom Width','rt_theme' ),
'description' => __( 'Set a custom width value (px,%)','rt_theme' ),
'type' => 'rt_number',
));
vc_add_param( 'vc_separator',array(
'param_name' => 'id',
'heading' => __('ID','rt_theme' ),
'description' => __('Unique ID','rt_theme' ),
'type' => 'textfield',
'value' => ''
));
vc_add_param( 'vc_separator',array(
'param_name' => 'class',
'heading' => __('Class','rt_theme' ),
'description' => __('CSS Class Name','rt_theme' ),
'type' => 'textfield'
));
?>