| 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
/*
*
* Headings
* [rt_heading]
*
*/
vc_map(
array(
'base' => 'rt_heading',
'name' => __( 'Heading','rt_theme' ),
'icon' => 'rt_theme rt_heading',
'category' => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
'description' => __( 'Add a styled heading','rt_theme' ),
'params' => array(
array(
'param_name' => 'content',
'heading' => __( 'Heading Text','rt_theme' ),
'description' => '',
'type' => 'textfield',
'holder' => 'div',
'value' => __( 'Heading Text','rt_theme' ),
'save_always' => true
),
array(
'param_name' => 'style',
'heading' => __( 'Style','rt_theme' ),
'description' => __( 'Select a style','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("No-Style",'rt_theme') => "",
__("Style One - ( w/ a short thin line below )",'rt_theme') => "style-1",
__("Style Two - ( w/ an arrow points the heading )",'rt_theme') => "style-2",
__("Style Three - ( w/ lines before and after )",'rt_theme') => "style-3",
__("Style Four - ( w/ a thin line below and punchline - centered ) ",'rt_theme') => "style-4",
__("Style Five - ( w/ a thin line below and punchline - left aligned ) ",'rt_theme') => "style-5",
__("Style Six - ( w/ a line after - left aligned ) ",'rt_theme') => "style-6",
__("Style Seven - (centered) ",'rt_theme') => "style-7"
),
'save_always' => true
),
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",
),
"dependency" => array(
"element" => "style",
"value" => array("")
),
'save_always' => true
),
array(
'param_name' => 'mobile_align',
'heading' => __( 'Mobile Text Align','rt_theme' ),
'description' => __( 'Tablet portrait or smaller','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("Default",'rt_theme') => "",
__("Left",'rt_theme') => "left",
__("Right",'rt_theme') => "right",
__("Center",'rt_theme') => "center",
),
"dependency" => array(
"element" => "style",
"value" => array("")
),
'save_always' => true
),
array(
'param_name' => 'punchline',
'heading' => __('Punchline','rt_theme' ),
'description' => __('Optional puchline text','rt_theme' ),
'type' => 'textfield',
"dependency" => array(
"element" => "style",
"value" => array("style-4","style-5")
),
'save_always' => true
),
array(
'param_name' => 'size',
'heading' => __( 'Size','rt_theme' ),
'description' => __( 'Select the size of the heading tag','rt_theme' ),
'type' => 'dropdown',
"value" => array(
"H1" => "h1",
"H2" => "h2",
"H3" => "h3",
"H4" => "h4",
"H5" => "h5",
"H6" => "h6",
"p" => "p",
"span" => "span"
),
'save_always' => true
),
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' => 'font_color_type',
'heading' => _x( 'Font Color', 'Admin Panel','rt_theme' ),
'type' => 'dropdown',
"value" => array(
_x("Default Heading Color", 'Admin Panel','rt_theme') => "",
_x("Custom Color", 'Admin Panel','rt_theme') => "custom",
_x("Primary Color", 'Admin Panel','rt_theme') => "primary",
),
'save_always' => true
),
array(
'param_name' => 'font_color',
'heading' => _x('Custom Font Color', 'Admin Panel','rt_theme' ),
'type' => 'colorpicker',
"dependency" => array(
"element" => "font_color_type",
"value" => array("custom")
),
),
array(
'param_name' => 'font',
'heading' => _x( 'Font Family', 'Admin Panel','rt_theme' ),
'type' => 'dropdown',
"value" => array(
_x("Default", 'Admin Panel','rt_theme') => "",
_x("Heading Font", 'Admin Panel','rt_theme') => "heading-font",
_x("Body Font", 'Admin Panel','rt_theme') => "body-font",
_x("Secondary Font", 'Admin Panel','rt_theme') => "secondary-font",
_x("Menu Font", 'Admin Panel','rt_theme') => "menu-font"
),
'save_always' => true
),
array(
'param_name' => 'custom_font_size',
'heading' => _x('Font Size', 'Admin Panel','rt_theme' ),
'type' => 'dropdown',
"value" => array(
_x("Default Size", 'Admin Panel','rt_theme') => "",
_x("Custom Size", 'Admin Panel','rt_theme') => "custom",
_x("Responsive Size", 'Admin Panel','rt_theme') => "responsive",
),
'save_always' => true
),
array(
'param_name' => 'font_size',
'heading' => _x('Custom Font Size (px)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
"dependency" => array(
"element" => "custom_font_size",
"value" => array("custom")
),
),
array(
'param_name' => 'max_font_size',
'heading' => _x('Max Font Size (px)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
"dependency" => array(
"element" => "custom_font_size",
"value" => array("responsive")
),
),
array(
'param_name' => 'min_font_size',
'heading' => _x('Min Font Size (px)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number',
"dependency" => array(
"element" => "custom_font_size",
"value" => array("responsive")
),
),
array(
'param_name' => 'line_height',
'heading' => _x('Custom Line Height (px, %)', 'Admin Panel','rt_theme' ),
'type' => 'rt_number'
),
array(
'param_name' => 'letter_spacing',
'heading' => _x('Custom Letter Spacing (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' => 'link',
'heading' => _x('Link', 'Admin Panel','rt_theme' ),
'type' => 'textfield',
'value' => '',
'save_always' => true,
'group' => 'Link'
),
array(
'param_name' => 'link_open',
'heading' => _x('Link Target', 'Admin Panel','rt_theme' ),
'type' => 'dropdown',
"value" => array(
_x("Same Tab", 'Admin Panel','rt_theme') => "_self",
_x("New Tab", 'Admin Panel','rt_theme') => "_blank",
),
'save_always' => true,
'group' => 'Link'
),
array(
'param_name' => 'href_title',
'heading' => _x('Link Title', 'Admin Panel','rt_theme' ),
'type' => 'dropdown',
'type' => 'textfield',
'group' => 'Link'
),
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' ),
),
)
)
);
?>