...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 65.108.66.160 / Your IP : 216.73.217.50 Web Server : Apache System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64 User : alasaweborg ( 1047) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/alasaweborg/www/wp-content/plugins/template-core/tinymce/ |
Upload File : |
<?php
// Fontawesome icons list
$pattern = '/\.(fa-(?:\w+(?:-)?)+):before\s+{\s*content:\s*"(.+)";\s+}/';
$fontawesome_path = TEMPLATE_TINYMCE_URI . '/css/font-awesome.css';
$response = wp_remote_get( $fontawesome_path );
if( is_array($response) ) {
$subject = $response['body']; // use the content
}
preg_match_all($pattern, $subject, $matches, PREG_SET_ORDER);
$icons = array();
foreach($matches as $match){
$icons['fa ' . $match[1]] = $match[1];
}
// Simple icons list
$simpleicons = '/\.(icon-(?:\w+(?:-)?)+):before\s+{\s*content:\s*"(.+)";\s+}/';
$simplelineicons_path = TEMPLATE_TINYMCE_URI . '/css/simple-line-icons.css';
$response = wp_remote_get( $simplelineicons_path );
if( is_array($response) ) {
$licon_subject = $response['body']; // use the content
}
preg_match_all($simpleicons, $licon_subject, $licon_matches, PREG_SET_ORDER);
$line_icons = array();
foreach($licon_matches as $licon_match){
$line_icons[$licon_match[1]] = $licon_match[2];
}
$list_icons = array ( 'fa fa-th-list' => 'fa-th-list', 'fa fa-check' => 'fa-check', 'fa fa-times' => 'fa-times', 'fa fa-tag' => 'fa-tag', 'fa fa-tags' => 'fa-tags', 'fa fa-list' => 'fa-list', 'fa fa-pencil' => 'fa-pencil', 'fa fa-check-square-o' => 'fa-check-square-o', 'fa fa-plus' => 'fa-plus', 'fa fa-minus' => 'fa-minus', 'fa fa-hand-o-right' => 'fa-hand-o-right', 'fa fa-hand-o-up' => 'fa-hand-o-up', 'fa fa-hand-o-down' => 'fa-hand-o-down', 'fa fa-list-ul' => 'fa-list-ul', 'fa fa-circle-o' => 'fa-circle-o', 'fa fa-angle-double-right' => 'fa-angle-double-right', 'fa fa-square' => 'fa-square' );
$animations = array ( 'none' => 'None', 'bounce' => 'Bounce', 'flash' => 'Flash', 'pulse' => 'Pulse', 'rubberBand' => 'Rubber Band', 'shake' => 'Shake', 'swing' => 'Swing', 'tada' => 'Tada', 'wobble' => 'Wobble', 'bounceIn' => 'Bounce In', 'bounceInDown' => 'Bounce In Down', 'bounceInLeft' => 'Bounce In Left', 'bounceInRight' => 'Bounce In Right', 'bounceInUp' => 'Bounce In Up', 'bounceOut' => 'Bounce Out', 'bounceOutDown' => 'Bounce Out Down', 'bounceOutLeft' => 'Bounce Out Left', 'bounceOutRight' => 'Bounce Out Right', 'bounceOutUp' => 'Bounce Out Up', 'fadeIn' => 'Fade In', 'fadeInDown' => 'Fade In Down', 'fadeInDownBig' => 'Fade In Down Big', 'fadeInLeft' => 'Fade In Left', 'fadeInLeftBig' => 'Fade In Left Big', 'fadeInRight' => 'Fade In Right', 'fadeInRightBig' => 'Fade In Right Big', 'fadeInUp' => 'Fade In Up', 'fadeInUpBig' => 'Fade In Up Big', 'fadeOut' => 'Fade Out', 'fadeOutDown' => 'Fade Out Down', 'fadeOutDownBig' => 'Fade Out Down Big', 'fadeOutLeft' => 'Fade Out Left', 'fadeOutLeftBig' => 'Fade Out Left Big', 'fadeOutRight' => 'Fade Out Right', 'fadeOutRightBig' => 'Fade Out Right Big', 'fadeOutUp' => 'Fade Out Up', 'fadeOutUpBig' => 'Fade Out Up Big', 'flip' => 'Flip', 'flipInX' => 'Flip In X', 'flipInY' => 'Flip In Y', 'flipOutX' => 'Flip Out X', 'flipOutY' => 'Flip Out Y', 'lightSpeedIn' => 'Light Speed In', 'rotateIn' => 'Rotate In', 'rotateInDownLeft' => 'Rotate In Down Left', 'rotateInDownRight' => 'Rotate In Down Right', 'rotateInUpLeft' => 'Rotate In Up Left', 'rotateInUpRight' => 'Rotate In Up Right', 'rotateOut' => 'Rotate Out', 'rotateOutDownLeft' => 'Rotate Out Down Left', 'rotateOutDownRight' => 'Rotate Out Down Right', 'rotateOutUpLeft' => 'Rotate Out Up Left', 'rotateOutUpRight' => 'Rotate Out Up Right', 'hinge' => 'Hinge', 'rollIn' => 'Roll In', 'rollOut' => 'Roll Out', 'zoomIn' => 'Zoom In', 'zoomInDown' => 'Zoom In Down', 'zoomInLeft' => 'Zoom In Left', 'zoomInRight' => 'Zoom In Right', 'zoomInUp' => 'Zoom In Up', 'zoomOut' => 'Zoom Out', 'zoomOutDown' => 'Zoom Out Down', 'zoomOutLeft' => 'Zoom Out Left', 'zoomOutRight' => 'Zoom Out Right', 'zoomOutUp' => 'Zoom Out Up' );
$image_url = TEMPLATE_TINYMCE_URI . '/images/';
// Get Taxonomy Term List
function tpath_taxonomy_term_list($taxonomy, $post_type, $msg) {
$list_groups = get_categories('taxonomy='.$taxonomy.'&post_type='.$post_type.'');
$groups_list[0] = $msg;
if( !empty($list_groups) ) {
foreach ($list_groups as $groups) {
$group_name = $groups->name;
$termid = $groups->term_id;
$groups_list[$termid] = $group_name;
}
}
if( isset($groups_list) ) {
return $groups_list;
}
}
// Pages Lists
function tpath_pages_lists() {
$args = array(
'post_type' => 'page',
'post_status' => 'publish',
'hierarchical' => 1,
'sort_order' => 'ASC',
'sort_column' => 'post_title',
);
$pages = get_pages($args);
$pages_list[0] = "Select";
if( !empty($pages) ) {
foreach ($pages as $page) {
$page_name = $page->post_title;
$page_id = $page->ID;
$pages_list[$page_id] = $page_name;
}
}
if(isset($pages_list)) {
return $pages_list;
}
}
/* =============================================================
* Shortcode Selection Config
* ============================================================= */
$tpath_shortcodes['tpath-sc-generator'] = array(
'no_preview' => true,
'params' => array(),
'shortcode' => '',
'popup_title' => ''
);
/* =============================================================
* Alert Config
* ============================================================= */
$tpath_shortcodes['alert'] = array(
'no_preview' => true,
'params' => array(
'type' => array(
'type' => 'select',
'label' => esc_html__('Alert Type', 'TemplateCore'),
'desc' => esc_html__('Select alert type', 'TemplateCore'),
'options' => array(
'success' => 'Success',
'info' => 'Info',
'warning' => 'Warning',
'danger' => 'Danger'
)
),
'content' => array(
'std' => 'Your Alert Content!',
'type' => 'textarea',
'label' => esc_html__('Alert Content', 'TemplateCore'),
'desc' => esc_html__('Add the alert\'s content', 'TemplateCore'),
),
'dismissable' => array(
'type' => 'select',
'label' => esc_html__('Alert Dismissable', 'TemplateCore'),
'desc' => esc_html__('Select to show close button in alert.', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_alert type="{{type}}" close="{{dismissable}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_alert]',
'popup_title' => __('Alert Shortcode', 'TemplateCore')
);
/* =============================================================
* Button Config
* ============================================================= */
$tpath_shortcodes['button'] = array(
'no_preview' => true,
'params' => array(
'url' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Button URL', 'TemplateCore'),
'desc' => esc_html__('Add the button\'s url. Ex: http://example.com', 'TemplateCore')
),
'style' => array(
'type' => 'select',
'label' => esc_html__('Button Style', 'TemplateCore'),
'desc' => esc_html__('Select the button\'s color', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'inverse' => 'Black',
'primary' => 'Blue',
'custom' => 'Custom',
'border' => 'Border',
'transparent' => 'Transparent',
'info' => 'Light Blue',
'success' => 'Green',
'warning' => 'Orange',
'danger' => 'Red',
)
),
'size' => array(
'type' => 'select',
'label' => esc_html__('Button Size', 'TemplateCore'),
'desc' => esc_html__('Select the button\'s size', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'mini' => 'Extra Small',
'small' => 'Small',
'large' => 'Large'
)
),
'target' => array(
'type' => 'select',
'label' => esc_html__('Button Target', 'TemplateCore'),
'desc' => esc_html__('_self = open in same window. <br /> _blank = open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'content' => array(
'std' => 'Button Text',
'type' => 'text',
'label' => esc_html__('Button\'s Text', 'TemplateCore'),
'desc' => esc_html__('Add the button\'s text', 'TemplateCore'),
),
'bg_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Color. It only works if choosed "Custom" style for button.', 'TemplateCore'),
),
'bg_hover_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Hover Color. It only works if choosed "Custom" style for button.', 'TemplateCore'),
),
'textcolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Color. Leave blank for default.', 'TemplateCore'),
),
'texthovercolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Hover Color. Leave blank for default.', 'TemplateCore'),
),
'border_width' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Border Width', 'TemplateCore'),
'desc' => esc_html__('Enter border width for button. Ex: 2 or 3.', 'TemplateCore'),
),
'border_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Border Color', 'TemplateCore'),
'desc' => esc_html__('Button Border Color. Leave blank for default.', 'TemplateCore'),
),
'border_hover_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => __('Button Border Hover Color', 'TemplateCore'),
'desc' => __('Button Border Hover Color. Leave blank for default.', 'TemplateCore'),
),
'icon' => array(
'type' => 'iconpicker',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'icon_position' => array(
'type' => 'select',
'label' => esc_html__('Icon Position', 'TemplateCore'),
'desc' => esc_html__('Select the position of the icon', 'TemplateCore'),
'options' => array(
'left' => 'Left',
'right' => 'Right',
)
),
'extra_class' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Button Extra Class', 'TemplateCore'),
'desc' => esc_html__('Add the button extra class.', 'TemplateCore'),
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_button url="{{url}}" style="{{style}}" size="{{size}}" color="{{textcolor}}" hover_color="{{texthovercolor}}" bg_color="{{bg_color}}" bg_hover_color="{{bg_hover_color}}" border_width="{{border_width}}" border_color="{{border_color}}" border_hover_color="{{border_hover_color}}" icon="{{icon}}" icon_pos="{{icon_position}}" extra_class="{{extra_class}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}" target="{{target}}"]{{content}}[/tpath_button]',
'popup_title' => esc_html__('Button Shortcode', 'TemplateCore')
);
/* =============================================================
* Columns Config
* ============================================================= */
$tpath_shortcodes['columns'] = array(
'no_preview' => true,
'params' => array(
'container' => array(
'type' => 'select',
'label' => esc_html__('Container', 'TemplateCore'),
'desc' => esc_html__('Choose to append container div to the columns.', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes'
)
),
'container_class' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Container Extra Class', 'TemplateCore'),
'desc' => esc_html__('Enter extra class for container.', 'TemplateCore')
),
),
'child_shortcode' => array(
'params' => array(
'column' => array(
'type' => 'select',
'label' => esc_html__('Column Size', 'TemplateCore'),
'desc' => esc_html__('Select the width of the column.', 'TemplateCore'),
'options' => array(
'1' => 'Size 1 (8.33%)',
'2' => 'Size 2 (16.67%)',
'3' => 'Size 3 (25%)',
'4' => 'Size 4 (33.33%)',
'5' => 'Size 5 (41.67%)',
'6' => 'Size 6 (50%)',
'7' => 'Size 7 (58.33%)',
'8' => 'Size 8 (66.67%)',
'9' => 'Size 9 (75%)',
'10' => 'Size 10 (83.33%)',
'11' => 'Size 11 (91.67%)',
'12' => 'Size 12 (100%)'
)
),
'content' => array(
'std' => 'Your Content !',
'type' => 'textarea',
'label' => esc_html__('Column Content', 'TemplateCore'),
'desc' => esc_html__('Add the column content.', 'TemplateCore'),
),
'column_class' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Column Extra Class', 'TemplateCore'),
'desc' => esc_html__('Enter extra class for column.', 'TemplateCore')
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_column size="{{column}}" column_class="{{column_class}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_column]',
'clone_button' => __('Add New Column', 'TemplateCore')
),
'shortcode' => '[tpath_columns container="{{container}}" container_class="{{container_class}}"]{{child_shortcode}}[/tpath_columns]',
'popup_title' => esc_html__('Columns Shortcode', 'TemplateCore'),
);
/* =============================================================
* Client Slider Config
* ============================================================= */
$tpath_shortcodes['client_slider'] = array(
'params' => array(),
'no_preview' => true,
'child_shortcode' => array(
'params' => array(
'url' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Client Link', 'TemplateCore'),
'desc' => __('Add the client\'s website url. Ex: http://example.com', 'TemplateCore')
),
'target' => array(
'type' => 'select',
'label' => esc_html__('Link Target', 'TemplateCore'),
'desc' => __('_self = open in same window. <br /> _blank = open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'image' => array(
'type' => 'media',
'label' => esc_html__('Upload Image', 'TemplateCore'),
'desc' => esc_html__('Upload the client image.', 'TemplateCore')
),
'alt' => array(
'std' => 'Image',
'type' => 'text',
'label' => esc_html__('Image Alt Text', 'TemplateCore'),
'desc' => esc_html__('If an image cannot be viewed the alt attribute text will be shown', 'TemplateCore')
)
),
'shortcode' => '[tpath_client link="{{url}}" target="{{target}}" image="{{image}}" alt="{{alt}}"]',
'clone_button' => esc_html__('Add New Client', 'TemplateCore')
),
'shortcode' => '[tpath_client_slider]{{child_shortcode}}[/tpath_client_slider]',
'popup_title' => esc_html__('Client Slider Shortcode', 'TemplateCore'),
);
/* =============================================================
* Dropcap Config
* ============================================================= */
$tpath_shortcodes['dropcap'] = array(
'no_preview' => true,
'params' => array(
'content' => array(
'std' => 'Z',
'type' => 'textarea',
'label' => esc_html__( 'Dropcap Letter', 'TemplateCore' ),
'desc' => esc_html__( 'Enter the letter to be used as dropcap', 'TemplateCore' ),
),
'textcolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Dropcap Color', 'TemplateCore'),
'desc' => esc_html__('Dropcap Color. Leave blank for default.', 'TemplateCore' ),
),
),
'shortcode' => '[tpath_dropcap color="{{textcolor}}"]{{content}}[/tpath_dropcap]',
'popup_title' => esc_html__( 'Dropcap Shortcode', 'TemplateCore' )
);
/* =============================================================
* Highlight Config
* ============================================================= */
$tpath_shortcodes['highlight'] = array(
'no_preview' => true,
'params' => array(
'bg_color' => array(
'type' => 'colorpicker',
'label' => esc_html__('Highlight Background Color', 'TemplateCore'),
'desc' => esc_html__('Choose a highlight background color', 'TemplateCore')
),
'color' => array(
'type' => 'colorpicker',
'label' => esc_html__('Highlight Text Color', 'TemplateCore'),
'desc' => esc_html__('Choose a highlight text color', 'TemplateCore')
),
'content' => array(
'std' => 'Your Content !',
'type' => 'textarea',
'label' => esc_html__( 'Content to Hightlight', 'TemplateCore' ),
'desc' => esc_html__( 'Enter the content to be highlighted', 'TemplateCore' ),
)
),
'shortcode' => '[tpath_highlight color="{{color}}" bg_color="{{bg_color}}"]{{content}}[/tpath_highlight]',
'popup_title' => esc_html__( 'Highlight Shortcode', 'TemplateCore' )
);
/* =============================================================
* List Item Config
* ============================================================= */
$tpath_shortcodes['listitem'] = array(
'no_preview' => true,
'params' => array(
'icon' => array(
'type' => 'iconpicker',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $list_icons
),
'iconcolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Icon Color', 'TemplateCore'),
'desc' => esc_html__('Leave blank for default', 'TemplateCore')
),
'iconbgcolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Icon Background Color', 'TemplateCore'),
'desc' => esc_html__('Leave blank for default color', 'TemplateCore')
),
'icontype' => array(
'type' => 'select',
'label' => esc_html__('Icon Type', 'TemplateCore'),
'desc' => esc_html__('Choose to display of icon', 'TemplateCore'),
'options' => array(
'none' => 'None',
'circle' => 'Circle',
'square' => 'Square'
)
),
'listinline' => array(
'type' => 'select',
'label' => esc_html__('Inline List Type', 'TemplateCore'),
'desc' => esc_html__('Choose to display of list items inline', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'child_shortcode' => array(
'params' => array(
'content' => array(
'std' => 'Your Content',
'type' => 'textarea',
'label' => esc_html__( 'List Item Content', 'TemplateCore' ),
'desc' => esc_html__( 'Enter list item content', 'TemplateCore' ),
),
),
'shortcode' => '<li>{{content}}</li>',
'clone_button' => esc_html__('Add New List Item', 'TemplateCore')
),
'shortcode' => '[tpath_listitem icon="{{icon}}" iconcolor="{{iconcolor}}" iconbgcolor="{{iconbgcolor}}" icontype="{{icontype}}" listinline="{{listinline}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]<ul>{{child_shortcode}}</ul>[/tpath_listitem]',
'popup_title' => esc_html__('List Item Shortcode', 'TemplateCore'),
);
/* =============================================================
* Fontawesome Config
* ============================================================= */
$tpath_shortcodes['fontawesome'] = array(
'no_preview' => true,
'params' => array(
'icon' => array(
'type' => 'iconpicker',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'icontype' => array(
'type' => 'select',
'label' => esc_html__('Icon Type', 'TemplateCore'),
'desc' => esc_html__('Choose to display of icon. If "none" background and border icon wont displayed.', 'TemplateCore'),
'options' => array(
'none' => 'None',
'circle' => 'Circle',
'square' => 'Square'
)
),
'size' => array(
'type' => 'select',
'label' => esc_html__('Icon Size', 'TemplateCore'),
'desc' => esc_html__('Select the size of the icon', 'TemplateCore'),
'options' => array(
'small' => 'Small',
'medium' => 'Medium',
'large' => 'Large'
)
),
'iconcolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Icon Color', 'TemplateCore'),
'desc' => esc_html__('Leave blank for default color', 'TemplateCore')
),
'iconbgcolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Icon Background Color', 'TemplateCore'),
'desc' => esc_html__('Leave blank for default color', 'TemplateCore')
),
'bordercolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Icon Border Color', 'TemplateCore'),
'desc' => esc_html__('Leave blank for default color', 'TemplateCore')
),
'border_width' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Border Width', 'TemplateCore'),
'desc' => esc_html__('Enter border width for icon. Ex: 2 or 3.', 'TemplateCore'),
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_fontawesome icon="{{icon}}" icontype="{{icontype}}" size="{{size}}" iconcolor="{{iconcolor}}" iconbgcolor="{{iconbgcolor}}" bordercolor="{{bordercolor}}" borderwidth="{{border_width}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]',
'popup_title' => esc_html__( 'Font Awesome Shortcode', 'TemplateCore' )
);
/* =============================================================
* Google Map Config
* ============================================================= */
$tpath_shortcodes['googlemap'] = array(
'no_preview' => true,
'params' => array(
'type' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Map Type', 'TemplateCore'),
'desc' => esc_html__('Select the type of google map', 'TemplateCore'),
'options' => array(
'roadmap' => 'Roadmap',
'satellite' => 'Satellite',
'hybrid' => 'Hybrid',
'terrain' => 'Terrain'
)
),
'width' => array(
'std' => '100%',
'type' => 'text',
'label' => esc_html__('Map Width', 'TemplateCore'),
'desc' => esc_html__('Map Width in Percentage or Pixels. Ex: 300px or 100%', 'TemplateCore')
),
'height' => array(
'std' => '350px',
'type' => 'text',
'label' => esc_html__('Map Height', 'TemplateCore'),
'desc' => esc_html__('Map Height in Pixels. Ex: 350px', 'TemplateCore')
),
'zoom' => array(
'std' => 5,
'type' => 'text',
'label' => esc_html__('Zoom Level', 'TemplateCore'),
'desc' => esc_html__('Higher number will be more zoomed in.', 'TemplateCore')
),
'onclick' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Show Map Address on Click', 'TemplateCore'),
'desc' => 'Display map address tooltip by clicking marker in the map',
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'scrollwheel' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Enable Map Scrollwheel', 'TemplateCore'),
'desc' => esc_html__('Enable zooming using a mouse\'s scroll wheel', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'scale' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Show Map Scale Control', 'TemplateCore'),
'desc' => esc_html__('Display the map scale', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'zoom_pancontrol' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Show Pan Control', 'TemplateCore'),
'desc' => esc_html__('Displays pan control on Map', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'marker_image' => array(
'type' => 'media',
'std' => '',
'label' => esc_html__('Marker Image', 'TemplateCore'),
'desc' => esc_html__('Upload an marker image to display marker on your locations', 'TemplateCore')
),
'content' => array(
'std' => 'Address',
'type' => 'textarea',
'label' => esc_html__( 'Address', 'TemplateCore' ),
'desc' => esc_html__( 'Add address to show marker on map. To show multiple marker locations on map, to separate addresses by using | symbol. Ex: Address 1|Address 2', 'TemplateCore' ),
),
'map_info' => array(
'std' => '',
'type' => 'textarea',
'label' => esc_html__( 'Map Info Content', 'TemplateCore' ),
'desc' => esc_html__( 'Add content to show in infowindow.', 'TemplateCore' ),
)
),
'shortcode' => '[tpath_map address="{{content}}" type="{{type}}" width="{{width}}" height="{{height}}" zoom="{{zoom}}" onclick="{{onclick}}" scrollwheel="{{scrollwheel}}" scale="{{scale}}" zoom_pancontrol="{{zoom_pancontrol}}" marker="{{marker_image}}" map_info="{{map_info}}"]',
'popup_title' => esc_html__( 'Google Map Shortcode', 'TemplateCore' ),
);
/* =============================================================
* Image Frame Config
* ============================================================= */
$tpath_shortcodes['imageframe'] = array(
'no_preview' => true,
'params' => array(
'shape' => array(
'type' => 'select',
'label' => esc_html__('Image Shape', 'TemplateCore'),
'desc' => esc_html__('Choose image shape. For circle shape image need to be equal in width and height.', 'TemplateCore'),
'options' => array(
'none' => 'None',
'rounded' => 'Rounded Corners',
'circle' => 'Circle',
'thumbnail' => 'Border'
)
),
'shadow' => array(
'type' => 'select',
'label' => esc_html__('Image Frame Shadow', 'TemplateCore'),
'desc' => esc_html__('Select shadow will show on Image Frame.', 'TemplateCore'),
'options' => array(
'none' => 'None',
'dropshade' => 'Drop Shadow',
'bottomcurved' => 'Bottom Curved Shadow',
'roundedshade' => 'Rounded Drop Shadow',
)
),
'bordercolor' => array(
'type' => 'colorpicker',
'label' => esc_html__( 'Border Color', 'TemplateCore' ),
'desc' => esc_html__( 'Choose color for border.', 'TemplateCore' ),
),
'border_width' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Border Width', 'TemplateCore'),
'desc' => esc_html__('Enter border width for image. Ex: 2 or 3.', 'TemplateCore'),
),
'lightbox' => array(
'type' => 'select',
'label' => esc_html__('Lightbox Image', 'TemplateCore'),
'desc' => esc_html__('Show image in Lightbox', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'image' => array(
'type' => 'media',
'std' => '',
'label' => esc_html__('Upload Image', 'TemplateCore'),
'desc' => esc_html__('Upload an image to display in the frame', 'TemplateCore')
),
'alt' => array(
'std' => 'Image',
'type' => 'text',
'label' => esc_html__('Image Alt Text', 'TemplateCore'),
'desc' => esc_html__('If an image cannot be viewed the alt attribute text will be shown', 'TemplateCore')
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_imageframe shape="{{shape}}" shadow="{{shadow}}" bordercolor="{{bordercolor}}" borderwidth="{{border_width}}" lightbox="{{lightbox}}" src="{{image}}" alt="{{alt}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]',
'popup_title' => esc_html__( 'Image Frame Shortcode', 'TemplateCore' )
);
/* =============================================================
* Image Frame with Overlay Config
* ============================================================= */
$tpath_shortcodes['imageframe_overlay'] = array(
'no_preview' => true,
'params' => array(
'shape' => array(
'type' => 'select',
'label' => esc_html__('Image Shape', 'TemplateCore'),
'desc' => esc_html__('Choose image shape. For circle shape image need to be equal in width and height.', 'TemplateCore'),
'options' => array(
'none' => 'None',
'rounded' => 'Rounded Corners',
'circle' => 'Circle',
'thumbnail' => 'Border'
)
),
'shadow' => array(
'type' => 'select',
'label' => esc_html__('Image Frame Shadow', 'TemplateCore'),
'desc' => esc_html__('Select shadow will show on Image Frame.', 'TemplateCore'),
'options' => array(
'none' => 'None',
'dropshade' => 'Drop Shadow',
'bottomcurved' => 'Bottom Curved Shadow',
'roundedshade' => 'Rounded Drop Shadow',
)
),
'bordercolor' => array(
'type' => 'colorpicker',
'label' => esc_html__( 'Border Color', 'TemplateCore' ),
'desc' => esc_html__( 'Choose color for border.', 'TemplateCore' ),
),
'border_width' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Border Width', 'TemplateCore'),
'desc' => esc_html__('Enter border width for image. Ex: 2 or 3.', 'TemplateCore'),
),
'image' => array(
'type' => 'media',
'std' => '',
'label' => esc_html__('Upload Image', 'TemplateCore'),
'desc' => esc_html__('Upload an image to display in the frame', 'TemplateCore')
),
'alt' => array(
'std' => 'Image',
'type' => 'text',
'label' => esc_html__('Image Alt Text', 'TemplateCore'),
'desc' => esc_html__('If an image cannot be viewed the alt attribute text will be shown', 'TemplateCore')
),
'img_overlay' => array(
'type' => 'select',
'label' => esc_html__('Image Overlay', 'TemplateCore'),
'desc' => esc_html__('Enable Image Overlay Text', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'overlay_position' => array(
'type' => 'select',
'label' => esc_html__('Overlay Position', 'TemplateCore'),
'desc' => esc_html__('Image Overlay Content Position', 'TemplateCore'),
'options' => array(
'top' => 'Top',
'bottom' => 'Bottom'
)
),
'content' => array(
'std' => 'Your Content!',
'type' => 'textarea',
'label' => esc_html__('Image Overlay Content', 'TemplateCore'),
'desc' => esc_html__('Enter Image Overlay Content', 'TemplateCore')
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_imageframe_overlay shape="{{shape}}" shadow="{{shadow}}" bordercolor="{{bordercolor}}" borderwidth="{{border_width}}" src="{{image}}" alt="{{alt}}" overlay="{{img_overlay}}" overlay_position="{{overlay_position}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_imageframe_overlay]',
'popup_title' => esc_html__( 'Image Frame Shortcode', 'TemplateCore' )
);
/* =============================================================
* Bootstrap Simple Carousel Config
* ============================================================= */
$tpath_shortcodes['bootcarousel'] = array(
'no_preview' => true,
'params' => array(),
'child_shortcode' => array(
'params' => array(
'linktype' => array(
'type' => 'select',
'label' => esc_html__('Link Type', 'TemplateCore'),
'desc' => esc_html__('Choose Image Link Type', 'TemplateCore'),
'options' => array(
'none' => 'None',
'lightbox' => 'Lightbox',
'link' => 'Link'
)
),
'url' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Image Link', 'TemplateCore'),
'desc' => esc_html__('Add the url to image. Only for Image Link Type', 'TemplateCore')
),
'target' => array(
'type' => 'select',
'label' => esc_html__('Link Target', 'TemplateCore'),
'desc' => esc_html__('_self = Open in same window, _blank = Open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'image' => array(
'type' => 'media',
'label' => esc_html__('Image', 'TemplateCore'),
'desc' => esc_html__('Upload an image for carousel', 'TemplateCore')
),
'alt' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Image Alt Text', 'TemplateCore'),
'desc' => esc_html__('If an image cannot be viewed the alt attribute text will be shown', 'TemplateCore')
),
'caption' => array(
'std' => 'Your Caption',
'type' => 'textarea',
'label' => esc_html__( 'Caption', 'TemplateCore' ),
'desc' => esc_html__( 'Add caption to show in slider', 'TemplateCore' ),
)
),
'shortcode' => '[tpath_image linktype="{{linktype}}" link="{{url}}" target="{{target}}" image="{{image}}" alt="{{alt}}" caption="{{caption}}"]',
'clone_button' => esc_html__('Add New Carousel Item', 'TemplateCore')
),
'shortcode' => '[tpath_carousel]{{child_shortcode}}[/tpath_carousel]',
'popup_title' => esc_html__('Boostrap Carousel Shortcode', 'TemplateCore'),
);
/* =============================================================
* Progress Bar Config
* ============================================================= */
$tpath_shortcodes['progressbar'] = array(
'no_preview' => true,
'params' => array(
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__( 'Progress Bar Title', 'TemplateCore' ),
'desc' => esc_html__( 'Enter Progress Bar Title', 'TemplateCore' ),
),
'value' => array(
'std' => '20',
'type' => 'text',
'label' => esc_html__('Filled Area Percentage', 'TemplateCore'),
'desc' => esc_html__('Enter number from 1 to 100', 'TemplateCore')
),
'filledcolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Filled Color', 'TemplateCore'),
'desc' => esc_html__('Background Color for filled in area', 'TemplateCore')
),
'unfilledcolor' => array(
'type' => 'colorpicker',
'label' => esc_html__('Unfilled Color', 'TemplateCore'),
'desc' => esc_html__('Background Color for unfilled area', 'TemplateCore')
),
'animation' => array(
'type' => 'select',
'label' => esc_html__('Enable Striped Animation', 'TemplateCore'),
'desc' => esc_html__('Choose to enable striped animation on Progress Bars.', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'content' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__( 'Progress Bar Text', 'TemplateCore' ),
'desc' => esc_html__( 'Text will show up on progess bar', 'TemplateCore' ),
)
),
'shortcode' => '[tpath_progress_bar title="{{title}}" percentage="{{value}}" filledcolor="{{filledcolor}}" unfilledcolor="{{unfilledcolor}}" animation="{{animation}}"]{{content}}[/tpath_progress_bar]',
'popup_title' => esc_html__('Progress Bar Shortcode', 'TemplateCore')
);
/* =============================================================
* Counters Config
* ============================================================= */
$tpath_shortcodes['counters'] = array(
'no_preview' => true,
'params' => array(),
'child_shortcode' => array(
'params' => array(
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Title', 'TemplateCore'),
'desc' => esc_html__('Enter the title for counter item.', 'TemplateCore')
),
'column' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Column Size', 'TemplateCore'),
'desc' => esc_html__('Select the width of the column.', 'TemplateCore'),
'options' => array(
'3' => 'Size 3 (25%)',
'4' => 'Size 4 (33.33%)',
'5' => 'Size 5 (41.67%)',
'6' => 'Size 6 (50%)',
'7' => 'Size 7 (58.33%)',
'8' => 'Size 8 (66.67%)',
'9' => 'Size 9 (75%)',
'10' => 'Size 10 (83.33%)',
'11' => 'Size 11 (91.67%)',
'12' => 'Size 12 (100%)'
)
),
'value' => array(
'std' => '150',
'type' => 'text',
'label' => esc_html__('Counter Value', 'TemplateCore'),
'desc' => esc_html__('Enter counter value.', 'TemplateCore')
),
'icon' => array(
'type' => 'iconpicker',
'std' => '',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'iconcolor' => array(
'type' => 'colorpicker',
'std' => '',
'label' => esc_html__('Icon Color', 'TemplateCore'),
'desc' => esc_html__('Leave blank for default', 'TemplateCore')
),
),
'shortcode' => '[tpath_counter title="{{title}}" column_size="{{column}}" value="{{value}}" icon="{{icon}}" iconcolor="{{iconcolor}}"]',
'clone_button' => esc_html__('Add New Counter', 'TemplateCore')
),
'shortcode' => '[tpath_counters]{{child_shortcode}}[/tpath_counters]',
'popup_title' => esc_html__('Counters Shortcode', 'TemplateCore'),
);
/* =============================================================
* Jumbotron Config
* ============================================================= */
$tpath_shortcodes['jumbotron'] = array(
'no_preview' => true,
'params' => array(
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Title', 'TemplateCore'),
'desc' => esc_html__('Enter title to show in Jumbotron', 'TemplateCore')
),
'content' => array(
'type' => 'textarea',
'std' => '',
'label' => esc_html__('Content', 'TemplateCore'),
'desc' => esc_html__('Enter content to show in Jumbotron', 'TemplateCore')
),
'bg_image' => array(
'type' => 'media',
'std' => '',
'label' => esc_html__('Container Background Image', 'TemplateCore'),
'desc' => esc_html__('Upload an image to use background for container. Leave blank for default.', 'TemplateCore'),
),
'bg_repeat' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Background Repeat', 'TemplateCore'),
'desc' => esc_html__('Choose background repeat for container.', 'TemplateCore'),
'options' => array(
'repeat' => 'Repeat',
'repeat-x' => 'Repeat-x',
'repeat-y' => 'Repeat-y',
'no-repeat' => 'No Repeat'
)
),
'bg_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Container Background Color', 'TemplateCore'),
'desc' => esc_html__('Choose Container Background Color.', 'TemplateCore'),
),
'content_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Container Text Color', 'TemplateCore'),
'desc' => esc_html__('Choose Container Text Color.', 'TemplateCore'),
),
'border_radius' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Border Radius', 'TemplateCore'),
'desc' => esc_html__('Enter border radius. Ex: 2px or 50%.', 'TemplateCore')
),
'show_button' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Show Button', 'TemplateCore'),
'desc' => esc_html__('Choose to show button with custom link.', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'button_text' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Button Text', 'TemplateCore'),
'desc' => esc_html__('Enter button text.', 'TemplateCore')
),
'button_link' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Button Link', 'TemplateCore'),
'desc' => esc_html__('Enter button link.', 'TemplateCore')
),
'target' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Link Target', 'TemplateCore'),
'desc' => esc_html__('_self = Open in same window <br />_blank = Open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'size' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Button Size', 'TemplateCore'),
'desc' => esc_html__('Select the button\'s size', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'mini' => 'Extra Small',
'small' => 'Small',
'large' => 'Large'
)
),
'button_bg_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Color.', 'TemplateCore'),
),
'button_bg_hover_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Hover Color.', 'TemplateCore'),
),
'textcolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Color. Leave blank for default.', 'TemplateCore'),
),
'texthovercolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Hover Color. Leave blank for default.', 'TemplateCore'),
),
'icon' => array(
'type' => 'iconpicker',
'std' => '',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'icon_position' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Icon Position', 'TemplateCore'),
'desc' => 'Select the position of the icon for button',
'options' => array(
'left' => 'Left',
'right' => 'Right',
)
),
'animation_type' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_jumbotron title="{{title}}" show_button="{{show_button}}" bg_image="{{bg_image}}" bg_repeat="{{bg_repeat}}" bg_color="{{bg_color}}" content_color="{{content_color}}" borderradius="{{border_radius}}" button_text="{{button_text}}" button_link="{{button_link}}" target="{{target}}" size="{{size}}" button_bg_color="{{button_bg_color}}" button_bg_hover_color="{{button_bg_hover_color}}" color="{{textcolor}}" hovercolor="{{texthovercolor}}" icon="{{icon}}" icon_pos="{{icon_position}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_jumbotron]',
'popup_title' => esc_html__('Jumbotron Shortcode', 'TemplateCore')
);
/* =============================================================
* Modals Config
* ============================================================= */
$tpath_shortcodes['modal'] = array(
'no_preview' => true,
'params' => array(
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Modal Title', 'TemplateCore'),
'desc' => esc_html__('Enter title to show in Modal header', 'TemplateCore')
),
'content' => array(
'type' => 'textarea',
'std' => '',
'label' => esc_html__('Content', 'TemplateCore'),
'desc' => esc_html__('Enter content to show in Modal', 'TemplateCore')
),
'modal_size' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Modal Size', 'TemplateCore'),
'desc' => esc_html__('Choose modal size', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'small' => 'Small',
'large' => 'Large'
)
),
'button_size' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Button Size', 'TemplateCore'),
'desc' => esc_html__('Choose button size', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'mini' => 'Extra Small',
'small' => 'Small',
'large' => 'Large'
)
),
'button_text' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Button Text', 'TemplateCore'),
'desc' => esc_html__('Enter button text to open modal window by clicking it.', 'TemplateCore')
),
'button_bg_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Color.', 'TemplateCore'),
),
'button_bg_hover_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Hover Color.', 'TemplateCore'),
),
'textcolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Color. Leave blank for default.', 'TemplateCore'),
),
'texthovercolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Hover Color. Leave blank for default.', 'TemplateCore'),
),
'icon' => array(
'type' => 'iconpicker',
'std' => '',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'icon_position' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Icon Position', 'TemplateCore'),
'desc' => 'Select the position of the icon for button',
'options' => array(
'left' => 'Left',
'right' => 'Right',
)
),
'animation_type' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_modals title="{{title}}" modal_size="{{modal_size}}" button_size="{{button_size}}" button_text="{{button_text}}" button_bg_color="{{button_bg_color}}" button_bg_hover_color="{{button_bg_hover_color}}" color="{{textcolor}}" hovercolor="{{texthovercolor}}" icon="{{icon}}" icon_pos="{{icon_position}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_modals]',
'popup_title' => esc_html__('Modals Shortcode', 'TemplateCore')
);
/* =============================================================
* Content Boxes Config
* ============================================================= */
$tpath_shortcodes['contentboxes'] = array(
'no_preview' => true,
'params' => array(),
'child_shortcode' => array(
'params' => array(
'layout' => array(
'type' => 'select',
'label' => esc_html__( 'Box Layout', 'TemplateCore' ),
'desc' => esc_html__('Select the layout for the content box', 'TemplateCore'),
'options' => array(
'thumb-boxed' => 'Only Thumbnail Image',
'thumb-on-top' => 'Thumbnail on Top of Title',
'thumb-overlay' => 'Show Title and Content on Thumbnail Overlay',
'thumb-on-bottom' => 'Thumbnail on After Title',
)
),
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Title', 'TemplateCore'),
'desc' => esc_html__('Enter the title for content box', 'TemplateCore')
),
'thumb_image' => array(
'type' => 'media',
'label' => esc_html__('Thumbnail Image', 'TemplateCore'),
'desc' => esc_html__('Upload an image to be used as thumbnail', 'TemplateCore')
),
'full_image' => array(
'type' => 'media',
'label' => esc_html__('Full Image', 'TemplateCore'),
'desc' => esc_html__('Upload an full size image to view in lightbox if layout set to Only Thumbnail Image', 'TemplateCore')
),
'alt' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Image Alt Text', 'TemplateCore'),
'desc' => esc_html__('If an image cannot be viewed the alt attribute text will be shown', 'TemplateCore')
),
'link_url' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Read More Link', 'TemplateCore'),
'desc' => esc_html__('Add the url to Read More button', 'TemplateCore')
),
'link_text' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Read More Text', 'TemplateCore'),
'desc' => esc_html__('Enter the text to display as link', 'TemplateCore')
),
'target' => array(
'type' => 'select',
'label' => esc_html__('Link Target', 'TemplateCore'),
'desc' => esc_html__('_self = Open in same window, _blank = Open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'column' => array(
'type' => 'select',
'label' => esc_html__('Column Size', 'TemplateCore'),
'desc' => esc_html__('Select the width of the column.', 'TemplateCore'),
'options' => array(
'3' => 'Size 3 (25%)',
'4' => 'Size 4 (33.33%)',
'5' => 'Size 5 (41.67%)',
'6' => 'Size 6 (50%)',
'7' => 'Size 7 (58.33%)',
'8' => 'Size 8 (66.67%)',
'9' => 'Size 9 (75%)',
'10' => 'Size 10 (83.33%)',
'11' => 'Size 11 (91.67%)',
'12' => 'Size 12 (100%)'
)
),
'content' => array(
'std' => 'Your Content !',
'type' => 'textarea',
'label' => esc_html__( 'Content', 'TemplateCore' ),
'desc' => esc_html__( 'Add content for content box', 'TemplateCore' ),
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_contentbox layout="{{layout}}" title="{{title}}" thumb_image="{{thumb_image}}" full_image="{{full_image}}" alt="{{alt}}" link="{{link_url}}" link_text="{{link_text}}" target="{{target}}" column="{{column}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_contentbox]',
'clone_button' => esc_html__('Add New Content Box', 'TemplateCore')
),
'shortcode' => '[tpath_contentboxes]{{child_shortcode}}[/tpath_contentboxes]',
'popup_title' => esc_html__('Content Boxes Shortcode', 'TemplateCore')
);
/* =============================================================
* Tabs Config
* ============================================================= */
$tpath_shortcodes['tabs'] = array(
'no_preview' => true,
'params' => array(
'layout' => array(
'type' => 'select',
'std' => '',
'label' => esc_html__('Layout', 'TemplateCore'),
'desc' => esc_html__('Choose the layout of tabs', 'TemplateCore'),
'options' => array(
'horizontal' => 'Horizontal',
'vertical-left' => 'Vertical Left',
'vertical-right'=> 'Vertical Right'
)
),
'activecolor' => array(
'type' => 'colorpicker',
'std' => '',
'label' => esc_html__('Active Background Color', 'TemplateCore'),
'desc' => esc_html__('Choose active tab background color. Leave blank for default', 'TemplateCore'),
),
'inactivecolor' => array(
'type' => 'colorpicker',
'std' => '',
'label' => esc_html__('Inactive Background Color', 'TemplateCore'),
'desc' => esc_html__('Choose inactive tab background color. Leave blank for default', 'TemplateCore'),
)
),
'child_shortcode' => array(
'params' => array(
'title' => array(
'std' => 'Title',
'type' => 'text',
'label' => esc_html__('Tab Title', 'TemplateCore'),
'desc' => esc_html__('Title of the tab', 'TemplateCore'),
),
'icon' => array(
'type' => 'iconpicker',
'std' => '',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Select icon to show before tab title. Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'titlecolor' => array(
'type' => 'colorpicker',
'std' => '',
'label' => esc_html__('Icon & Title Color', 'TemplateCore'),
'desc' => esc_html__('Choose icon and tab title color. Leave blank for default', 'TemplateCore'),
),
'content' => array(
'std' => 'Your Tab Content',
'type' => 'textarea',
'label' => esc_html__('Tab Content', 'TemplateCore'),
'desc' => esc_html__('Add the tabs content', 'TemplateCore')
)
),
'shortcode' => '[tpath_tab title="{{title}}" icon="{{icon}}" color="{{titlecolor}}"]{{content}}[/tpath_tab]',
'clone_button' => esc_html__('Add New Tab', 'TemplateCore')
),
'shortcode' => '[tpath_tabs layout="{{layout}}" activecolor="{{activecolor}}" inactivecolor="{{inactivecolor}}"]{{child_shortcode}}[/tpath_tabs]',
'popup_title' => esc_html__('Tab Shortcode', 'TemplateCore'),
);
/* =============================================================
* Accordion Config
* ============================================================= */
$tpath_shortcodes['accordion'] = array(
'no_preview' => true,
'params' => array(),
'child_shortcode' => array(
'params' => array(
'title' => array(
'std' => 'Title',
'type' => 'text',
'label' => esc_html__('Title', 'TemplateCore'),
'desc' => esc_html__('Insert the accordion title', 'TemplateCore')
),
'open' => array(
'type' => 'select',
'label' => esc_html__('Open by Default', 'TemplateCore'),
'desc' => esc_html__('Choose to have the accordion open by default', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes'
)
),
'content' => array(
'std' => 'Your Content !',
'type' => 'textarea',
'label' => esc_html__('Accordion Content', 'TemplateCore'),
'desc' => esc_html__('Insert the accordion content', 'TemplateCore')
)
),
'shortcode' => '[tpath_accordion title="{{title}}" open="{{open}}"]{{content}}[/tpath_accordion]',
'clone_button' => esc_html__('Add New Accordion Item', 'TemplateCore')
),
'shortcode' => '[tpath_accordions]{{child_shortcode}}[/tpath_accordions]',
'popup_title' => esc_html__('Accordion Shortcode', 'TemplateCore'),
);
/* =============================================================
* Tooltip Config
* ============================================================= */
$tpath_shortcodes['tooltip'] = array(
'no_preview' => true,
'params' => array(
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Tooltip Text', 'TemplateCore'),
'desc' => esc_html__('Insert the text that displays in the tooltip', 'TemplateCore')
),
'position' => array(
'type' => 'select',
'label' => esc_html__('Tooltip Position', 'TemplateCore'),
'desc' => esc_html__('Choose the position to tooltip appear', 'TemplateCore'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'bottom' => 'Bottom',
'right' => 'Right'
)
),
'content' => array(
'std' => '',
'type' => 'textarea',
'label' => esc_html__('Content', 'TemplateCore'),
'desc' => esc_html__('Insert the text that will activate the tooltip hover', 'TemplateCore')
),
),
'shortcode' => '[tpath_tooltip title="{{title}}" position="{{position}}"]{{content}}[/tpath_tooltip]',
'popup_title' => esc_html__( 'Tooltip Shortcode', 'TemplateCore' )
);
/* =============================================================
* Blockquotes Config
* ============================================================= */
$tpath_shortcodes['blockquotes'] = array(
'no_preview' => true,
'params' => array(
'footer_text' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Blockquote Cite Text', 'TemplateCore'),
'desc' => esc_html__('Insert the footer text. Author or source name', 'TemplateCore')
),
'position' => array(
'type' => 'select',
'label' => esc_html__('Blockquote Align', 'TemplateCore'),
'desc' => esc_html__('Choose blockquote alignment', 'TemplateCore'),
'options' => array(
'left' => 'Left',
'right' => 'Right'
)
),
'content' => array(
'std' => 'Your Blockquote content !',
'type' => 'textarea',
'label' => esc_html__('Content', 'TemplateCore'),
'desc' => esc_html__('Insert the blockquote content', 'TemplateCore')
),
'animation_type' => array(
'type' => 'select',
'label' => esc_html__('Animation Type', 'TemplateCore'),
'desc' => esc_html__('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => esc_html__('Animation Delay', 'TemplateCore'),
'desc' => esc_html__('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_blockquote footer_text="{{footer_text}}" position="{{position}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_blockquote]',
'popup_title' => esc_html__( 'Blockquotes Shortcode', 'TemplateCore' )
);
/* =============================================================
* Lead Paragraph Config
* ============================================================= */
$tpath_shortcodes['leadpara'] = array(
'no_preview' => true,
'params' => array(
'align' => array(
'type' => 'select',
'label' => esc_html__('Paragraph Alignment', 'TemplateCore'),
'desc' => esc_html__('Choose paragraph alignment', 'TemplateCore'),
'options' => array(
'left' => 'Left',
'right' => 'Right',
'center' => 'Center',
'justify' => 'Justify'
)
),
'content' => array(
'std' => 'Your content !',
'type' => 'textarea',
'label' => esc_html__('Content', 'TemplateCore'),
'desc' => esc_html__('Insert the paragraph content', 'TemplateCore')
),
),
'shortcode' => '[tpath_leadpara align="{{align}}"]{{content}}[/tpath_leadpara]',
'popup_title' => esc_html__( 'Lead Paragraph Shortcode', 'TemplateCore' )
);
/* =============================================================
* Popover Config
* ============================================================= */
$tpath_shortcodes['popover'] = array(
'no_preview' => true,
'params' => array(
'title' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Popover Title', 'TemplateCore'),
'desc' => esc_html__('Insert the title.', 'TemplateCore')
),
'content' => array(
'std' => 'Your content !',
'type' => 'textarea',
'label' => esc_html__('Popover Content', 'TemplateCore'),
'desc' => esc_html__('Insert the popover content', 'TemplateCore')
),
'position' => array(
'type' => 'select',
'label' => esc_html__('Popover Position', 'TemplateCore'),
'desc' => esc_html__('Choose the position to popover appear', 'TemplateCore'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'bottom' => 'Bottom',
'right' => 'Right'
)
),
'link_type' => array(
'type' => 'select',
'label' => esc_html__('Popover Link Type', 'TemplateCore'),
'desc' => esc_html__('Choose type of text to active popover.', 'TemplateCore'),
'options' => array(
'button' => 'Button',
'link' => 'Link'
)
),
'popover_show' => array(
'type' => 'select',
'label' => esc_html__('Popover Show', 'TemplateCore'),
'desc' => esc_html__('Choose when popover needs to activate. By "Click" on popover show wont work with Link type.', 'TemplateCore'),
'options' => array(
'hover' => 'Hover',
'click' => 'Click'
)
),
'link_text' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Link or Button Text', 'TemplateCore'),
'desc' => esc_html__('Insert the link or button text.', 'TemplateCore')
),
'link_url' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Link or Button URL', 'TemplateCore'),
'desc' => esc_html__('Insert the link for text.', 'TemplateCore')
),
'target' => array(
'type' => 'select',
'label' => esc_html__('Link or Button Target', 'TemplateCore'),
'desc' => esc_html__('_self = Open in same window, _blank = Open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'button_size' => array(
'type' => 'select',
'label' => esc_html__('Button Size', 'TemplateCore'),
'desc' => esc_html__('Select the button\'s size', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'mini' => 'Extra Small',
'small' => 'Small',
'large' => 'Large'
)
),
'button_bg_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Color.', 'TemplateCore'),
),
'button_bg_hover_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Background Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Background Hover Color.', 'TemplateCore'),
),
'textcolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Color. Leave blank for default.', 'TemplateCore'),
),
'texthovercolor' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Button Text Hover Color', 'TemplateCore'),
'desc' => esc_html__('Button Text Hover Color. Leave blank for default.', 'TemplateCore'),
),
'icon' => array(
'type' => 'iconpicker',
'label' => esc_html__('Select Icon', 'TemplateCore'),
'desc' => esc_html__('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'icon_position' => array(
'type' => 'select',
'label' => esc_html__('Icon Position', 'TemplateCore'),
'desc' => 'Select the position of the icon',
'options' => array(
'left' => 'Left',
'right' => 'Right',
)
),
),
'shortcode' => '[tpath_popover title="{{title}}" popover_pos="{{position}}" link_type="{{link_type}}" show_on="{{popover_show}}" link_text="{{link_text}}" link_url="{{link_url}}" target="{{target}}" size="{{button_size}}" button_bg_color="{{button_bg_color}}" button_bg_hover_color="{{button_bg_hover_color}}" color="{{textcolor}}" hovercolor="{{texthovercolor}}" icon="{{icon}}" icon_pos="{{icon_position}}"]{{content}}[/tpath_popover]',
'popup_title' => esc_html__( 'Popover Shortcode', 'TemplateCore' )
);
/* =============================================================
* Table Config
* ============================================================= */
$tpath_shortcodes['table'] = array(
'no_preview' => true,
'params' => array(
'type' => array(
'type' => 'select',
'label' => esc_html__('Style Type', 'TemplateCore'),
'desc' => esc_html__('Choose the table style', 'TemplateCore'),
'options' => array(
'striped' => 'Striped',
'bordered' => 'Bordered',
'condensed' => 'Condensed'
)
),
'rows' => array(
'type' => 'select',
'label' => esc_html__('Number of Rows', 'TemplateCore'),
'desc' => esc_html__('Select number of rows for table', 'TemplateCore'),
'options' => array(
'1' => '1 Row',
'2' => '2 Rows',
'3' => '3 Rows',
'4' => '4 Rows',
'5' => '5 Rows'
)
),
'columns' => array(
'type' => 'select',
'label' => esc_html__('Number of Columns', 'TemplateCore'),
'desc' => esc_html__('Select number of columns for table', 'TemplateCore'),
'options' => array(
'1' => '1 Column',
'2' => '2 Columns',
'3' => '3 Columns',
'4' => '4 Columns',
'5' => '5 Columns'
)
),
),
'shortcode' => '',
'popup_title' => esc_html__( 'Table Shortcode', 'TemplateCore' )
);
/* =============================================================
* SoundCloud Config
* ============================================================= */
$tpath_shortcodes['soundcloud'] = array(
'no_preview' => true,
'params' => array(
'url' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('SoundCloud Url', 'TemplateCore'),
'desc' => esc_html__('Enter SoundCloud url, Ex: http://api.soundcloud.com/tracks/59051244', 'TemplateCore')
),
'comments' => array(
'type' => 'select',
'label' => esc_html__('Show Comments', 'TemplateCore'),
'desc' => esc_html__('Choose to display comments', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'auto_play' => array(
'type' => 'select',
'label' => esc_html__('Autoplay', 'TemplateCore'),
'desc' => esc_html__('Select to autoplay the track', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes'
)
),
'buy_like_buttons' => array(
'type' => 'select',
'label' => esc_html__('Show Buy& Like Buttons', 'TemplateCore'),
'desc' => esc_html__('Select to show/hide buy & like buttons', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'show_artwork' => array(
'type' => 'select',
'label' => esc_html__('Show Artwork', 'TemplateCore'),
'desc' => esc_html__('Select to show/hide artwork', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'color' => array(
'type' => 'colorpicker',
'std' => '#FF5500',
'label' => esc_html__('Color', 'TemplateCore'),
'desc' => esc_html__('Select the color for play button and other controls', 'TemplateCore')
),
'width' => array(
'std' => '100%',
'type' => 'text',
'label' => esc_html__('Width', 'TemplateCore'),
'desc' => esc_html__('Enter player width in pixels or percentage. Ex: 100% or 500px', 'TemplateCore')
),
'height' => array(
'std' => '110',
'type' => 'text',
'label' => esc_html__('Height', 'TemplateCore'),
'desc' => esc_html__('Enter player height in pixels. Ex: 110', 'TemplateCore')
),
),
'shortcode' => '[tpath_soundcloud url="{{url}}" comments="{{comments}}" autoplay="{{auto_play}}" buy_like="{{buy_like_buttons}}" show_artwork="{{show_artwork}}" color="{{color}}" width="{{width}}" height="{{height}}"]',
'popup_title' => esc_html__( 'SoundCloud Shortcode', 'TemplateCore' )
);
/* =============================================================
* Vimeo Config
* ============================================================= */
$tpath_shortcodes['vimeo'] = array(
'no_preview' => true,
'params' => array(
'player_id' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Video ID', 'TemplateCore'),
'desc' => esc_html__('For example the Video ID for https://vimeo.com/19940853 is 19940853', 'TemplateCore')
),
'width' => array(
'std' => '700',
'type' => 'text',
'label' => esc_html__('Player Width', 'TemplateCore'),
'desc' => esc_html__('Enter only number in pixels. Ex: 700', 'TemplateCore')
),
'height' => array(
'std' => '350',
'type' => 'text',
'label' => esc_html__('Player Height', 'TemplateCore'),
'desc' => esc_html__('Enter only number in pixels. Ex: 350', 'TemplateCore'),
),
'auto_play' => array(
'type' => 'select',
'label' => esc_html__('Autoplay', 'TemplateCore'),
'desc' => esc_html__('Select to autoplay the video', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes'
)
),
'color' => array(
'type' => 'colorpicker',
'std' => '#00adef',
'label' => esc_html__('Color', 'TemplateCore'),
'desc' => esc_html__('Select the color for video controls', 'TemplateCore')
),
'show_title' => array(
'type' => 'select',
'label' => esc_html__('Show Title', 'TemplateCore'),
'desc' => esc_html__('Select to show title in video', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
'show_byline' => array(
'type' => 'select',
'label' => esc_html__('Show Byline', 'TemplateCore'),
'desc' => esc_html__('Select to show user byline in video', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
),
'shortcode' => '[tpath_vimeo id="{{player_id}}" width="{{width}}" height="{{height}}" autoplay="{{auto_play}}" color="{{color}}" show_title="{{show_title}}" show_byline="{{show_byline}}"]',
'popup_title' => esc_html__( 'Vimeo Shortcode', 'TemplateCore' )
);
/* =============================================================
* Youtube Config
* ============================================================= */
$tpath_shortcodes['youtube'] = array(
'no_preview' => true,
'params' => array(
'player_id' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Video ID', 'TemplateCore'),
'desc' => esc_html__('For example the Video ID for <br />http://www.youtube.com/R4-YdC5N6Lo is R4-YdC5N6Lo', 'TemplateCore')
),
'width' => array(
'std' => '700',
'type' => 'text',
'label' => esc_html__('Player Width', 'TemplateCore'),
'desc' => esc_html__('Enter only number in pixels. Ex: 700', 'TemplateCore')
),
'height' => array(
'std' => '350',
'type' => 'text',
'label' => esc_html__('Player Height', 'TemplateCore'),
'desc' => esc_html__('Enter only number in pixels. Ex: 350', 'TemplateCore'),
),
'auto_play' => array(
'type' => 'select',
'label' => esc_html__('Autoplay', 'TemplateCore'),
'desc' => esc_html__('Select to autoplay the video', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes'
)
),
'related' => array(
'type' => 'select',
'label' => esc_html__('Related Videos', 'TemplateCore'),
'desc' => esc_html__('Select to show related videos', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes'
)
),
),
'shortcode' => '[tpath_youtube id="{{player_id}}" width="{{width}}" height="{{height}}" autoplay="{{auto_play}}" rel_video="{{related}}"]',
'popup_title' => esc_html__( 'Youtube Shortcode', 'TemplateCore' )
);
/* =============================================================
* Testimonials Config
* ============================================================= */
$tpath_shortcodes['testimonials'] = array(
'no_preview' => true,
'params' => array(
'category' => array(
'type' => 'select',
'label' => esc_html__('Select Testimonial Categories', 'TemplateCore'),
'desc' => '',
'options' => tpath_taxonomy_term_list('testimonial_categories', 'tpath_testimonial', 'Select Categories')
),
'show_navigation' => array(
'type' => 'select',
'label' => esc_html__('Navigation', 'TemplateCore'),
'desc' => esc_html__('Select to show/hide navigation in Testimonial slider', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No',
)
),
'style' => array(
'type' => 'select',
'label' => esc_html__('Testimonial Display Style', 'TemplateCore'),
'desc' => esc_html__('Select Testimonial Display Style', 'TemplateCore'),
'options' => array(
'slider' => 'Slider',
'list' => 'List',
)
),
),
'shortcode' => '[tpath_testimonials category="{{category}}" show_navigation="{{show_navigation}}" style="{{style}}"]',
'popup_title' => esc_html__( 'Testimonials Shortcode', 'TemplateCore' )
);
/* =============================================================
* Blog Config
* ============================================================= */
$tpath_shortcodes['blog'] = array(
'no_preview' => true,
'params' => array(
'blog_layout' => array(
'type' => 'select',
'label' => esc_html__('Blog Layout', 'TemplateCore'),
'desc' => esc_html__('Select the layout for the blog posts', 'TemplateCore'),
'options' => array(
'large' => 'List Posts',
'grid' => 'Grid Posts',
)
),
'posts_count' => array(
'std' => '',
'type' => 'text',
'label' => esc_html__('Posts per Page', 'TemplateCore'),
'desc' => esc_html__('Enter number of posts per page. -1 represents all posts to show.', 'TemplateCore')
),
'category' => array(
'type' => 'multiselect',
'label' => esc_html__('Select Categories', 'TemplateCore'),
'options' => tpath_taxonomy_term_list('category', 'post', 'All Categories')
),
'show_title' => array(
'type' => 'select',
'label' => esc_html__('Title', 'TemplateCore'),
'desc' => esc_html__('Select to show/hide the post title', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No',
)
),
'show_thumb' => array(
'type' => 'select',
'label' => esc_html__('Thumbnail', 'TemplateCore'),
'desc' => esc_html__('Select to show/hide the post featured image', 'TemplateCore'),
'options' => array(
'yes' => 'Yes',
'no' => 'No',
)
),
'show_content' => array(
'type' => 'select',
'label' => esc_html__('Show Excerpt/Content', 'TemplateCore'),
'desc' => esc_html__('Select to show excerpt or full content or hide content', 'TemplateCore'),
'options' => array(
'excerpt' => 'Excerpt',
'content' => 'Full Content',
'none' => 'No Content',
)
),
'hide_meta_author' => array(
'type' => 'select',
'label' => esc_html__('Disable Post Meta Author Name', 'TemplateCore'),
'desc' => esc_html__('Select to hide the author', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes',
)
),
'hide_meta_date' => array(
'type' => 'select',
'label' => esc_html__('Disable Post Meta Date', 'TemplateCore'),
'desc' => esc_html__('Select to hide the date', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes',
)
),
'hide_meta_categories' => array(
'type' => 'select',
'label' => esc_html__('Disable Post Meta Categories', 'TemplateCore'),
'desc' => esc_html__('Select to hide the categories', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes',
)
),
'hide_meta_comments' => array(
'type' => 'select',
'label' => esc_html__('Disable Post Meta Comments Count', 'TemplateCore'),
'desc' => esc_html__('Select to hide the comments count', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes',
)
),
'hide_meta_link' => array(
'type' => 'select',
'label' => esc_html__('Disable Read More Link', 'TemplateCore'),
'desc' => esc_html__('Select to hide the read more link', 'TemplateCore'),
'options' => array(
'no' => 'No',
'yes' => 'Yes',
)
),
'pagination' => array(
'type' => 'select',
'label' => esc_html__('Pagination', 'TemplateCore'),
'desc' => esc_html__('Select the type of pagination for posts', 'TemplateCore'),
'options' => array(
'pagination' => 'Pagination',
'infinite' => 'Infinite Scroll'
)
),
'grid_columns' => array(
'type' => 'select',
'label' => esc_html__('Number of Columns for Grid Layout', 'TemplateCore'),
'desc' => esc_html__('Choose number of columns for Grid layout.', 'TemplateCore'),
'options' => array(
'two' => '2',
'three' => '3',
'four' => '4'
)
),
'grid_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => esc_html__('Grid Background Color', 'TemplateCore'),
'desc' => esc_html__('Grid Background Color.', 'TemplateCore'),
),
),
'shortcode' => '[tpath_blog layout="{{blog_layout}}" posts="{{posts_count}}" categories="{{category}}" title="{{show_title}}" thumbnail="{{show_thumb}}" content="{{show_content}}" hide_author="{{hide_meta_author}}" hide_date="{{hide_meta_date}}" hide_categories="{{hide_meta_categories}}" hide_comments="{{hide_meta_comments}}" hide_morelink="{{hide_meta_link}}" pagination="{{pagination}}" grid_columns="{{grid_columns}}" grid_color="{{grid_color}}"]',
'popup_title' => esc_html__( 'Blog Shortcode', 'TemplateCore' )
);
/* =============================================================
* Text Slider Config
* ============================================================= */
$tpath_shortcodes['textslider'] = array(
'no_preview' => true,
'params' => array(
'direction' => array(
'std' => 'up',
'label' => __('Select Direction', 'TemplateCore'),
'desc' => __('Select slider direction', 'TemplateCore'),
'type' => 'select',
'options' => array(
'up' => 'Up',
'down' => 'Down'
)
),
'interval' => array(
'std' => '4000',
'label' => __('Slider Interval', 'TemplateCore'),
'desc' => __('Enter Interval in milliseconds. Ex: 4000', 'TemplateCore'),
'type' => 'text'
),
'color' => array(
'std' => '',
'label' => __('Text Color', 'TemplateCore'),
'desc' => __('Select text color', 'TemplateCore'),
'type' => 'colorpicker'
),
),
'child_shortcode' => array(
'params' => array(
'content' => array(
'std' => 'Your Content!',
'label' => __('Slider Content', 'TemplateCore'),
'desc' => __('Enter Slider Content', 'TemplateCore'),
'type' => 'textarea'
),
),
'shortcode' => '[tpath_text_item]{{content}}[/tpath_text_item]',
'clone_button' => __('Add New Slider Item', 'TemplateCore')
),
'shortcode' => '[tpath_text_slider direction="{{direction}}" interval="{{interval}}" color="{{color}}"]{{child_shortcode}}[/tpath_text_slider]',
'popup_title' => __( 'Insert Text Slider Shortcode', 'TemplateCore' )
);
/* =============================================================
* Services List Config
* ============================================================= */
$tpath_shortcodes['serviceslist'] = array(
'no_preview' => true,
'params' => array(
'icon_size' => array(
'std' => '',
'type' => 'text',
'label' => __('Icon Size', 'TemplateCore'),
'desc' => __('Enter Icon Size.', 'TemplateCore'),
),
'icon_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => __('Icon Color', 'TemplateCore'),
'desc' => __('Choose Icon Color.', 'TemplateCore'),
),
'title_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => __('Title Color', 'TemplateCore'),
'desc' => __('Choose Title Color.', 'TemplateCore'),
),
'desc_color' => array(
'std' => '',
'type' => 'colorpicker',
'label' => __('Description Color', 'TemplateCore'),
'desc' => __('Choose Description Color.', 'TemplateCore'),
),
'extra_class' => array(
'std' => '',
'type' => 'text',
'label' => __('Extra Class', 'TemplateCore'),
'desc' => __('Enter extra class for container.', 'TemplateCore'),
),
),
'child_shortcode' => array(
'params' => array(
'column' => array(
'type' => 'select',
'std' => '',
'label' => __('Column Size', 'TemplateCore'),
'desc' => __('Select the width of the column.', 'TemplateCore'),
'options' => array(
'3' => 'Size 3 (25%)',
'4' => 'Size 4 (33.33%)',
'5' => 'Size 5 (41.67%)',
'6' => 'Size 6 (50%)',
'7' => 'Size 7 (58.33%)',
'8' => 'Size 8 (66.67%)',
'9' => 'Size 9 (75%)',
'10' => 'Size 10 (83.33%)',
'11' => 'Size 11 (91.67%)',
'12' => 'Size 12 (100%)'
)
),
'title' => array(
'std' => '',
'type' => 'text',
'label' => __('Title', 'TemplateCore'),
'desc' => __('Enter the title for services.', 'TemplateCore')
),
'faicon' => array(
'type' => 'iconpicker',
'std' => '',
'label' => __('Select Icon', 'TemplateCore'),
'desc' => __('Click an icon to select, click again to deselect', 'TemplateCore'),
'options' => $icons
),
'content' => array(
'std' => 'Your Content !',
'type' => 'textarea',
'label' => __( 'Content', 'TemplateCore' ),
'desc' => __( 'Enter the description for services.', 'TemplateCore' ),
),
'btn_text' => array(
'std' => '',
'type' => 'text',
'label' => __('Button Text', 'TemplateCore'),
'desc' => __('Enter the button text.', 'TemplateCore')
),
'btn_url' => array(
'std' => '',
'type' => 'text',
'label' => __('Button URL', 'TemplateCore'),
'desc' => __('Add the button\'s url. Ex: http://example.com', 'TemplateCore')
),
'style' => array(
'type' => 'select',
'std' => '',
'label' => __('Button Style', 'TemplateCore'),
'desc' => __('Select the button\'s color', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'inverse' => 'Black',
'primary' => 'Blue',
'custom' => 'Custom',
'border' => 'Border',
'transparent' => 'Transparent',
'info' => 'Light Blue',
'success' => 'Green',
'warning' => 'Orange',
'danger' => 'Red',
)
),
'size' => array(
'type' => 'select',
'std' => '',
'label' => __('Button Size', 'TemplateCore'),
'desc' => __('Select the button\'s size', 'TemplateCore'),
'options' => array(
'default' => 'Default',
'mini' => 'Extra Small',
'small' => 'Small',
'large' => 'Large'
)
),
'target' => array(
'type' => 'select',
'std' => '',
'label' => __('Button Target', 'TemplateCore'),
'desc' => __('_self = open in same window. <br /> _blank = open in new window', 'TemplateCore'),
'options' => array(
'_self' => '_self',
'_blank' => '_blank'
)
),
'animation_type' => array(
'type' => 'select',
'std' => '',
'label' => __('Animation Type', 'TemplateCore'),
'desc' => __('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => __('Animation Delay', 'TemplateCore'),
'desc' => __('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_services_item column="{{column}}" title="{{title}}" faicon="{{faicon}}" btn_text="{{btn_text}}" button_url="{{btn_url}}" button_style="{{style}}" button_size="{{size}}" target="{{target}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]{{content}}[/tpath_services_item]',
'clone_button' => __('Add New Services Item', 'TemplateCore')
),
'shortcode' => '[tpath_services icon_size="{{icon_size}}" icon_color="{{icon_color}}" title_color="{{title_color}}" desc_color="{{desc_color}}" extra_class="{{extra_class}}"]{{child_shortcode}}[/tpath_services]',
'popup_title' => __( 'Insert Services Shortcode', 'TemplateCore' )
);
/* =============================================================
* HTML Block Config
* ============================================================= */
$tpath_shortcodes['html_block'] = array(
'no_preview' => true,
'params' => array(
'tag' => array(
'type' => 'select',
'label' => __('HTML Tag', 'TemplateCore'),
'desc' => __('Choose HTML tag to insert.', 'TemplateCore'),
'options' => array(
'div' => 'div',
'section' => 'section',
'p' => 'p',
'span' => 'span',
)
),
'class' => array(
'std' => '',
'type' => 'text',
'label' => __('Class', 'TemplateCore'),
'desc' => __('Enter class name for HTML tag.', 'TemplateCore')
),
'content' => array(
'std' => 'Your Content!',
'label' => __('Content', 'TemplateCore'),
'desc' => __('Enter Content', 'TemplateCore'),
'type' => 'textarea'
),
),
'shortcode' => '[tpath_html_block tag="{{tag}}" class="{{class}}"]{{content}}[/tpath_html_block]',
'popup_title' => __( 'HTML Block Shortcode', 'TemplateCore' )
);
/* =============================================================
* Background Video Config
* ============================================================= */
$tpath_shortcodes['bg_video'] = array(
'no_preview' => true,
'params' => array(
'video_id' => array(
'std' => '',
'type' => 'text',
'label' => __('Video ID', 'TemplateCore'),
'desc' => __('For example the Video ID for <br />http://www.youtube.com/vdRqcPyB1gw is vdRqcPyB1gw', 'TemplateCore')
),
'autoPlay' => array(
'type' => 'select',
'std' => '',
'label' => __('Auto play', 'TemplateCore'),
'desc' => __('Select to auto play the Video.', 'TemplateCore'),
'options' => array(
'true' => 'Yes',
'false' => 'No',
)
),
'screen_height' => array(
'std' => '',
'type' => 'text',
'label' => __('Video Screen Height', 'TemplateCore'),
'desc' => __('Enter the video screen height. Only numbers. Ex: 510', 'TemplateCore')
),
'image' => array(
'type' => 'media',
'std' => '',
'label' => __('Video Fallback Image', 'TemplateCore'),
'desc' => __('Upload the Video Fallback Image.', 'TemplateCore')
),
'showControls' => array(
'type' => 'select',
'std' => '',
'label' => __('Show Controls', 'TemplateCore'),
'desc' => __('Select to Show Controls on player.', 'TemplateCore'),
'options' => array(
'false' => 'No',
'true' => 'Yes',
)
),
'mute' => array(
'type' => 'select',
'std' => '',
'label' => __('Video Mute', 'TemplateCore'),
'desc' => __('Select to Video Mute.', 'TemplateCore'),
'options' => array(
'false' => 'No',
'true' => 'Yes',
)
),
),
'shortcode' => '[tpath_bg_video video_id="{{video_id}}" autoplay="{{autoPlay}}" screen_height="{{screen_height}}" fallback="{{image}}" controls="{{showControls}}" mute="{{mute}}"][/tpath_bg_video]',
'popup_title' => __( 'Background Video Shortcode', 'TemplateCore' )
);
/* =============================================================
* Contact Form Config
* ============================================================= */
$tpath_shortcodes['contact_form'] = array(
'no_preview' => true,
'params' => array(
'form' => array(
'type' => 'select',
'label' => __('Show Contact Form', 'TemplateCore'),
'desc' => __('Check to Show Contact Form', 'TemplateCore'),
'options' => array(
'on' => 'Yes',
'off' => 'No',
)
),
'form_align' => array(
'type' => 'select',
'label' => __('Form Center', 'TemplateCore'),
'desc' => __('Choose to Show Form Centered Align', 'TemplateCore'),
'options' => array(
'on' => 'Yes',
'off' => 'No',
)
),
'info' => array(
'type' => 'select',
'label' => __('Show Contact Information', 'TemplateCore'),
'desc' => __('Check to Show Contact Information', 'TemplateCore'),
'options' => array(
'on' => 'Yes',
'off' => 'No',
)
),
'btn_text' => array(
'std' => '',
'type' => 'text',
'label' => __('Submit Button Text', 'TemplateCore'),
'desc' => __('Enter Submit Button Text.', 'TemplateCore')
),
),
'shortcode' => '[tpath_contact_form form="{{form}}" form_align="{{form_align}}" info="{{info}}" btn_text="{{btn_text}}"]',
'popup_title' => __( 'Contact Form Shortcode', 'TemplateCore' )
);
/* =============================================================
* Team Member Config
* ============================================================= */
$tpath_shortcodes['teammember'] = array(
'no_preview' => true,
'params' => array(
'category' => array(
'type' => 'select',
'label' => __('Select Team Member Categories', 'TemplateCore'),
'options' => tpath_taxonomy_term_list('team_member_categories', 'tpath_team_member', 'Select Categories'),
'desc' => __('Choose Team Member Categories to display posts from it categories.', 'TemplateCore')
),
'number_of_items' => array(
'std' => '3',
'type' => 'text',
'label' => __('Number Of Items In Desktop View', 'TemplateCore'),
'desc' => __('Enter Number of items to show in desktop view', 'TemplateCore')
),
'number_of_items_dksmall' => array(
'std' => '3',
'type' => 'text',
'label' => __('Number Of Items In Desktop Small View ( Between 980px and 769px )', 'TemplateCore'),
'desc' => __('Enter Number of items to show in desktop small view', 'TemplateCore')
),
'number_of_items_tablet' => array(
'std' => '2',
'type' => 'text',
'label' => __('Number Of Items In Tablet View ( Between 768px and 479px )', 'TemplateCore'),
'desc' => __('Enter Number of items to show in tablet view', 'TemplateCore')
),
'number_of_items_mobile' => array(
'std' => '1',
'type' => 'text',
'label' => __('Number Of Items In Mobile ( 480px )', 'TemplateCore'),
'desc' => __('Enter Number of items to show in mobile', 'TemplateCore')
),
'navigation' => array(
'type' => 'select',
'label' => __('Enable Navigation', 'TemplateCore'),
'desc' => __('Select to enable navigation for slider', 'TemplateCore'),
'options' => array(
'false' => 'No',
'true' => 'Yes',
)
),
'pagination' => array(
'type' => 'select',
'label' => __('Enable Pagination', 'TemplateCore'),
'desc' => __('Select to enable pagination for slider', 'TemplateCore'),
'options' => array(
'false' => 'No',
'true' => 'Yes',
)
),
'animation_type' => array(
'type' => 'select',
'label' => __('Animation Type', 'TemplateCore'),
'desc' => __('Select the animation type for shortcode', 'TemplateCore'),
'options' => $animations
),
'animation_delay' => array(
'std' => '500',
'type' => 'text',
'label' => __('Animation Delay', 'TemplateCore'),
'desc' => __('Enter animation delay in milliseconds. Ex: 500', 'TemplateCore'),
),
),
'shortcode' => '[tpath_team_member category="{{category}}" items="{{number_of_items}}" itemsdesktopsmall="{{number_of_items_dksmall}}" itemstablet="{{number_of_items_tablet}}" itemsmobile="{{number_of_items_mobile}}" navigation="{{navigation}}" pagination="{{pagination}}" animation_type="{{animation_type}}" animation_delay="{{animation_delay}}"]',
'popup_title' => __( 'Team Member Shortcode', 'TemplateCore' )
);
?>