function gdlr_register_session_item($page_builder = array())
{
    global $gdlr_spaces;
    $page_builder['content-item']['options']['session'] = array('title' => __('Session', 'gdlr-conference'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-conference'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('session_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-conference')), 'session-style' => array('title' => __('Item Style', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('small' => __('Small Style', 'gdlr-conference'), 'tab' => __('Tab Style', 'gdlr-conference'), 'full' => __('Full Style', 'gdlr-conference'))), 'num-excerpt' => array('title' => __('Excerpt Number', 'gdlr-conference'), 'type' => 'text', 'default' => '30'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-conference'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-conference')))));
    $page_builder['content-item']['options']['session-counter'] = array('title' => __('Session Counter', 'gdlr-conference'), 'type' => 'item', 'options' => array('select-session' => array('title' => __('Select Session', 'gdlr-conference'), 'type' => 'combobox', 'options' => gdlr_get_post_list('session')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-conference'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-conference'))));
    return $page_builder;
}
 function gdlrs_register_room_item($page_builder = array())
 {
     global $gdlr_spaces;
     $page_builder['content-item']['options']['hostel-room'] = array('title' => __('Hostel Room', 'gdlr-hotel'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(__('View all rooms', 'gdlr-hotel')), array('category' => array('title' => __('Category', 'gdlr-hotel'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('hostel_room_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-hotel')), 'tag' => array('title' => __('Tag', 'gdlr-hotel'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('hostel_room_tag'), 'description' => __('Will be ignored when the room filter option is enabled.', 'gdlr-hotel')), 'room-style' => array('title' => __('Room Style', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('classic' => __('Classic', 'gdlr-hotel'), 'classic-no-space' => __('Classic No Space', 'gdlr-hotel'), 'modern' => __('Modern', 'gdlr-hotel'), 'modern-no-space' => __('Modern No Space', 'gdlr-hotel'), 'medium' => __('Medium Thumbnail', 'gdlr-hotel'))), 'enable-carousel' => array('title' => __('Room Carousel', 'gdlr-hotel'), 'type' => 'checkbox', 'wrapper-class' => 'room-style-wrapper modern-wrapper modern-no-space-wrapper classic-wrapper classic-no-space-wrapper'), 'room-size' => array('title' => __('Room Column Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4'), 'default' => 3, 'wrapper-class' => 'room-style-wrapper classic-wrapper classic-no-space-wrapper modern-wrapper modern-no-space-wrapper'), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-hotel'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of rooms you want to pull out.', 'gdlr-hotel')), 'num-excerpt' => array('title' => __('Num Excerpt', 'gdlr-hotel'), 'type' => 'text', 'default' => '20', 'wrapper-class' => 'room-style-wrapper medium-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-hotel')), 'orderby' => array('title' => __('Order By', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-hotel'), 'title' => __('Title', 'gdlr-hotel'), 'rand' => __('Random', 'gdlr-hotel'))), 'order' => array('title' => __('Order', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-hotel'), 'asc' => __('Ascending Order', 'gdlr-hotel'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-hotel'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-hotel'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-hotel')))));
     $page_builder['content-item']['options']['hostel-room-category'] = array('title' => __('Hostel Room Category / Branches', 'gdlr-hotel'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(__('View All Branches', 'gdlr-hotel')), array('category' => array('title' => __('Select Category to Display', 'gdlr-hotel'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_id_list('hostel_room_category'), 'description' => __('Will be ignored when the room filter option is enabled.', 'gdlr-hotel')), 'item-size' => array('title' => __('Item Column Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4'), 'default' => 3, 'wrapper-class' => 'room-style-wrapper classic-wrapper modern-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-hotel')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-hotel'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-hotel')))));
     return $page_builder;
 }
function gdlr_register_instructor_item($page_builder = array())
{
    if (!function_exists('gdlr_page_builder_title_option')) {
        function gdlr_page_builder_title_option()
        {
            return array();
        }
    }
    global $gdlr_spaces;
    $page_builder['content-item']['options']['instructor'] = array('title' => __('Instructor', 'gdlr-lms'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('instructor-type' => array('title' => __('Instructor Type', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('single' => __('Single Instructor', 'gdlr-lms'), 'multiple' => __('Instructor List', 'gdlr-lms'))), 'user' => array('title' => __('Select User', 'gdlr-lms'), 'type' => 'combobox', 'options' => gdlr_lms_get_user_list(), 'wrapper-class' => 'instructor-type-wrapper single-wrapper'), 'role' => array('title' => __('Role', 'gdlr-lms'), 'type' => 'combobox', 'options' => gdlr_lms_get_role_list(), 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'instructor-style' => array('title' => __('Instructor Style', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('grid' => __('Grid Style', 'gdlr-lms'), 'grid-2' => __('Grid 2nd Style', 'gdlr-lms'))), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-lms'), 'type' => 'text', 'default' => '8', 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper', 'description' => __('Specify the number of instructor you want to pull out.', 'gdlr-lms')), 'num-excerpt' => array('title' => __('Num Excerpt', 'gdlr-lms'), 'type' => 'text', 'default' => '20'), 'instructor-size' => array('title' => __('Instructor Size', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('4' => '1/4', '3' => '1/3', '2' => '1/2', '1' => '1/1'), 'default' => '3', 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-lms'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'orderby' => array('title' => __('Order By', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('display_name' => __('Display Name', 'gdlr-lms'), 'ID' => __('ID', 'gdlr-lms'), 'post_count' => __('Post Count', 'gdlr-lms')), 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'order' => array('title' => __('Order', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('asc' => __('Ascending Order', 'gdlr-lms'), 'desc' => __('Descending Order', 'gdlr-lms')), 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-lms'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-lms')))));
    return $page_builder;
}
 function gdlr_register_hotel_availability_item($page_builder = array())
 {
     global $gdlr_spaces;
     $page_builder['content-item']['options']['hotel-availability'] = array('title' => __('Hotel Room Availability', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))));
     return $page_builder;
 }
function gdlr_register_fixture_result_item($page_builder = array())
{
    global $gdlr_spaces;
    $page_builder['content-item']['options']['upcoming-match'] = array('title' => __('Upcoming Match', 'gdlr-soccer'), 'type' => 'item', 'options' => array('category' => array('title' => __('Category', 'gdlr-soccer'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('result_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-soccer')), 'image-id' => array('title' => __('Background Image', 'gdlr_translate'), 'type' => 'upload', 'button' => __('Upload', 'gdlr_translate')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-soccer'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-soccer'))));
    $page_builder['content-item']['options']['fixture-result'] = array('title' => __('Fixtures & Results', 'gdlr-soccer'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-soccer'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('result_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-soccer')), 'style' => array('title' => __('Item Style', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('full' => __('Full', 'gdlr-soccer'), 'summary' => __('Summary', 'gdlr-soccer')), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-portfolio')), 'button-text' => array('title' => __('View All Fixtures Text', 'gdlr-soccer'), 'type' => 'text', 'default' => __('View All Fixtures', 'gdlr-soccer'), 'wrapper-class' => 'style-wrapper summary-wrapper'), 'button-link' => array('title' => __('View All Fixtures Link', 'gdlr-soccer'), 'type' => 'text', 'wrapper-class' => 'style-wrapper summary-wrapper'), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-soccer'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of records you want to pull out.', 'gdlr-soccer')), 'filter' => array('title' => __('Enable Category Filter', 'gdlr-soccer'), 'type' => 'checkbox', 'default' => 'disable', 'description' => __('*** You have to select only 1 ( or none ) category when enable this option', 'gdlr-soccer')), 'order' => array('title' => __('Order', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-soccer'), 'asc' => __('Ascending Order', 'gdlr-soccer'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-soccer'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-soccer'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-soccer')))));
    return $page_builder;
}
 function gdlr_create_page_builder_option()
 {
     global $gdlr_spaces;
     new gdlr_page_builder(array('post_type' => array('page'), 'meta_title' => __('Page Builder Options', 'gdlr_translate')), apply_filters('gdlr_page_builder_option', array('column-wrapper-item' => array('title' => __('Column Wrapper Item', 'gdlr_translate'), 'blank_option' => __('- Select Column Item -', 'gdlr_translate'), 'options' => array('column1-5' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '1/5'), 'column1-4' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '1/4'), 'column2-5' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '2/5'), 'column1-3' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '1/3'), 'column1-2' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '1/2'), 'column3-5' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '3/5'), 'column2-3' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '2/3'), 'column3-4' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '3/4'), 'column4-5' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '4/5'), 'column1-1' => array('title' => __('Column Item', 'gdlr_translate'), 'type' => 'wrapper', 'size' => '1/1'), 'color-wrapper' => array('title' => __('Color Wrapper', 'gdlr_translate'), 'type' => 'wrapper', 'options' => array('background-type' => array('title' => __('Background Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('color' => __('Color', 'gdlr_translate'), 'transparent' => __('Transparent', 'gdlr_translate'))), 'background' => array('title' => __('Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'wrapper-class' => 'color-wrapper background-type-wrapper'), 'skin' => array('title' => __('Skin', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_skin_list(), 'description' => __('Can be created at the Theme Options > Elements Color > Custom Skin section', 'gdlr_translate')), 'show-section' => array('title' => __('Show This Section In', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('gdlr-show-all' => __('All Devices', 'gdlr_translate'), 'gdlr-hide-in-tablet' => __('Hide This Section In Tablet', 'gdlr_translate'), 'gdlr-hide-in-mobile' => __('Hide This Section In Mobile', 'gdlr_translate'), 'gdlr-hide-in-tablet-mobile' => __('Hide This Section In Tablet and Mobile', 'gdlr_translate'))), 'border' => array('title' => __('Border', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('none' => __('None', 'gdlr_translate'), 'top' => __('Border Top', 'gdlr_translate'), 'bottom' => __('Border Bottom', 'gdlr_translate'), 'both' => __('Both Border', 'gdlr_translate'))), 'border-top-color' => array('title' => __('Border Top Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'wrapper-class' => 'border-wrapper top-wrapper both-wrapper'), 'border-bottom-color' => array('title' => __('Border Bottom Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'wrapper-class' => 'border-wrapper bottom-wrapper both-wrapper'), 'padding-top' => array('title' => __('Padding Top', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['top-wrapper'], 'description' => __('Spaces before starting any content in this section', 'gdlr_translate')), 'padding-bottom' => array('title' => __('Padding Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-wrapper'], 'description' => __('Spaces after ending of the content in this section', 'gdlr_translate')))), 'parallax-bg-wrapper' => array('title' => __('Background/Parallax Wrapper', 'gdlr_translate'), 'type' => 'wrapper', 'options' => array('type' => array('title' => __('Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('image' => __('Background Image', 'gdlr_translate'), 'pattern' => __('Predefined Pattern', 'gdlr_translate'), 'video' => __('Video Background', 'gdlr_translate')), 'default' => 'image'), 'background' => array('title' => __('Background Image', 'gdlr_translate'), 'button' => __('Upload', 'gdlr_translate'), 'type' => 'upload', 'wrapper-class' => 'type-wrapper image-wrapper'), 'background-mobile' => array('title' => __('Background Mobile', 'gdlr_translate'), 'button' => __('Upload', 'gdlr_translate'), 'type' => 'upload', 'wrapper-class' => 'type-wrapper image-wrapper'), 'background-speed' => array('title' => __('Background Speed', 'gdlr_translate'), 'type' => 'text', 'default' => '0', 'wrapper-class' => 'type-wrapper image-wrapper', 'description' => __('Fill 0 if you don\'t want the background to scroll and 1 when you want the background to have the same speed as the scroll bar', 'gdlr_translate') . '<br><br><strong>' . __('*** only allow the number between -1 to 1', 'gdlr_translate') . '</strong>'), 'pattern' => array('title' => __('Pattern', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('1' => GDLR_PATH . '/include/images/pattern/pattern-1.png', '2' => GDLR_PATH . '/include/images/pattern/pattern-2.png', '3' => GDLR_PATH . '/include/images/pattern/pattern-3.png', '4' => GDLR_PATH . '/include/images/pattern/pattern-4.png', '5' => GDLR_PATH . '/include/images/pattern/pattern-5.png', '6' => GDLR_PATH . '/include/images/pattern/pattern-6.png', '7' => GDLR_PATH . '/include/images/pattern/pattern-7.png', '8' => GDLR_PATH . '/include/images/pattern/pattern-8.png'), 'wrapper-class' => 'type-wrapper pattern-wrapper', 'default' => '1'), 'video' => array('title' => __('Youtube URL', 'gdlr_translate'), 'type' => 'text', 'wrapper-class' => 'type-wrapper video-wrapper'), 'video-overlay' => array('title' => __('Video Overlay Opacity', 'gdlr_translate'), 'type' => 'text', 'default' => '0.5', 'wrapper-class' => 'type-wrapper video-wrapper'), 'video-player' => array('title' => __('Video Control Bar', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'enable', 'wrapper-class' => 'type-wrapper video-wrapper'), 'skin' => array('title' => __('Skin', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_skin_list(), 'description' => __('Can be created at the Theme Options > Elements Color > Custom Skin section', 'gdlr_translate')), 'show-section' => array('title' => __('Show This Section In', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('gdlr-show-all' => __('All Devices', 'gdlr_translate'), 'gdlr-hide-in-tablet' => __('Hide This Section In Tablet', 'gdlr_translate'), 'gdlr-hide-in-mobile' => __('Hide This Section In Mobile', 'gdlr_translate'), 'gdlr-hide-in-tablet-mobile' => __('Hide This Section In Tablet and Mobile', 'gdlr_translate'))), 'border' => array('title' => __('Border', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('none' => __('None', 'gdlr_translate'), 'top' => __('Border Top', 'gdlr_translate'), 'bottom' => __('Border Bottom', 'gdlr_translate'), 'both' => __('Both Border', 'gdlr_translate'))), 'border-top-color' => array('title' => __('Border Top Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'wrapper-class' => 'border-wrapper top-wrapper both-wrapper'), 'border-bottom-color' => array('title' => __('Border Bottom Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'wrapper-class' => 'border-wrapper bottom-wrapper both-wrapper'), 'padding-top' => array('title' => __('Padding Top', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['top-wrapper'], 'description' => __('Spaces before starting any content in this section', 'gdlr_translate')), 'padding-bottom' => array('title' => __('Padding Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-wrapper'], 'description' => __('Spaces after ending of the content in this section', 'gdlr_translate')))), 'full-size-wrapper' => array('title' => __('Full Size Wrapper', 'gdlr_translate'), 'type' => 'wrapper', 'options' => array('background' => array('title' => __('Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff'), 'show-section' => array('title' => __('Show This Section In', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('gdlr-show-all' => __('All Devices', 'gdlr_translate'), 'gdlr-hide-in-tablet' => __('Hide This Section In Tablet', 'gdlr_translate'), 'gdlr-hide-in-mobile' => __('Hide This Section In Mobile', 'gdlr_translate'), 'gdlr-hide-in-tablet-mobile' => __('Hide This Section In Tablet and Mobile', 'gdlr_translate'))), 'border' => array('title' => __('Border', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('none' => __('None', 'gdlr_translate'), 'top' => __('Border Top', 'gdlr_translate'), 'bottom' => __('Border Bottom', 'gdlr_translate'), 'both' => __('Both Border', 'gdlr_translate'))), 'border-top-color' => array('title' => __('Border Top Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'wrapper-class' => 'border-wrapper top-wrapper both-wrapper'), 'border-bottom-color' => array('title' => __('Border Bottom Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'wrapper-class' => 'border-wrapper bottom-wrapper both-wrapper'), 'padding-top' => array('title' => __('Padding Top', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['top-full-wrapper'], 'description' => __('Spaces before starting any content in this section', 'gdlr_translate')), 'padding-bottom' => array('title' => __('Padding Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-wrapper'], 'description' => __('Spaces after ending of the content in this section', 'gdlr_translate')))))), 'content-item' => array('title' => __('Content/Post Type Item', 'gdlr_translate'), 'blank_option' => __('- Select Content Item -', 'gdlr_translate'), 'options' => array('accordion' => array('title' => __('Accordion', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('accordion' => array('type' => 'tab', 'default-title' => __('Accordion', 'gdlr_translate'))), gdlr_page_builder_title_option(), array('initial-state' => array('title' => __('Initial Open', 'gdlr_translate'), 'type' => 'text', 'default' => 1, 'description' => __('0 will close all tab as an initial state, 1 will open the first tab and so on.', 'gdlr_translate')), 'style' => array('title' => __('Accordion Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('style-1' => __('Style 1 ( Colored Background )', 'gdlr_translate'), 'style-2' => __('Style 2 ( Transparent Background )', 'gdlr_translate'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'blog' => array('title' => __('Blog', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr_translate'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr_translate')), 'tag' => array('title' => __('Tag', 'gdlr_translate'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('post_tag'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr_translate')), 'num-excerpt' => array('title' => __('Num Excerpt (Word)', 'gdlr_translate'), 'type' => 'text', 'default' => '25', 'description' => __('This is a number of word (decided by spaces) that you want to show on the post excerpt. <strong>Use 0 to hide the excerpt, -1 to show full posts and use the wordpress more tag</strong>.', 'gdlr_translate')), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr_translate'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of posts you want to pull out.', 'gdlr_translate')), 'blog-style' => array('title' => __('Blog Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('blog-widget' => __('Blog Widget', 'gdlr_translate'), 'blog-1-4' => '1/4 ' . __('Blog Grid', 'gdlr_translate'), 'blog-1-3' => '1/3 ' . __('Blog Grid', 'gdlr_translate'), 'blog-1-2' => '1/2 ' . __('Blog Grid', 'gdlr_translate'), 'blog-1-1' => '1/1 ' . __('Blog Grid', 'gdlr_translate'), 'blog-medium' => __('Blog Medium', 'gdlr_translate'), 'blog-full' => __('Blog Full', 'gdlr_translate')), 'default' => 'blog-1-1'), 'blog-layout' => array('title' => __('Blog Layout Order', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('fitRows' => __('FitRows ( Order items by row )', 'gdlr_translate'), 'masonry' => __('Masonry ( Order items by spaces )', 'gdlr_translate'), 'carousel' => __('Carousel ( Only For Blog Grid )', 'gdlr_translate')), 'wrapper-class' => 'blog-1-4-wrapper blog-1-3-wrapper blog-1-2-wrapper blog-style-wrapper', 'description' => __('You can see an example of these two layout here', 'gdlr_translate') . '<br>http://isotope.metafizzy.co/demos/layout-modes.html'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'wrapper-class' => 'blog-1-4-wrapper blog-1-3-wrapper blog-1-2-wrapper blog-style-wrapper blog-full-wrapper blog-medium-wrapper', 'description' => __('Only effects to <strong>standard and gallery post format</strong>.', 'gdlr_translate')), 'orderby' => array('title' => __('Order By', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr_translate'), 'title' => __('Title', 'gdlr_translate'), 'rand' => __('Random', 'gdlr_translate'))), 'order' => array('title' => __('Order', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr_translate'), 'asc' => __('Ascending Order', 'gdlr_translate'))), 'offset' => array('title' => __('Offset', 'gdlr_translate'), 'type' => 'text', 'description' => __('Fill in number of the posts you want to skip. Please noted that this will not works well with pagination', 'gdlr_translate')), 'pagination' => array('title' => __('Enable Pagination', 'gdlr_translate'), 'type' => 'checkbox'), 'enable-sticky' => array('title' => __('Prepend Sticky Post', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'disable'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'box-icon-item' => array('title' => __('Box Icon', 'gdlr_translate'), 'type' => 'item', 'options' => array('icon' => array('title' => __('Icon Class', 'gdlr_translate'), 'type' => 'text'), 'icon-position' => array('title' => __('Icon Position', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('left' => __('Left', 'gdlr_translate'), 'top' => __('Top', 'gdlr_translate'))), 'icon-type' => array('title' => __('Icon Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('normal' => __('Normal', 'gdlr_translate'), 'circle' => __('Circle Background', 'gdlr_translate'))), 'icon-color' => array('title' => __('Icon Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#5e5e5e'), 'icon-background' => array('title' => __('Icon Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#91d549', 'wrapper-class' => 'icon-type-wrapper circle-wrapper'), 'title' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'text'), 'content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'tinymce'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'column-service' => array('title' => __('Column Service', 'gdlr_translate'), 'type' => 'item', 'options' => array('type' => array('title' => __('Media Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('icon' => __('Icon', 'gdlr_translate'), 'image' => __('Image', 'gdlr_translate'))), 'image' => array('title' => __('Service Image', 'gdlr_translate'), 'type' => 'upload', 'button' => __('upload', 'gdlr_translate'), 'wrapper-class' => 'type-wrapper image-wrapper'), 'icon' => array('title' => __('Icon Class', 'gdlr_translate'), 'type' => 'text', 'wrapper-class' => 'type-wrapper icon-wrapper'), 'title' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'text'), 'style' => array('title' => __('Item Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('type-1' => __('Style 1', 'gdlr_translate'), 'type-2' => __('Style 2', 'gdlr_translate'))), 'content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'tinymce'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'content' => array('title' => __('Content', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'tinymce'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'divider' => array('title' => __('Divider', 'gdlr_translate'), 'type' => 'item', 'options' => array('type' => array('title' => __('Divider', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('solid' => __('Solid', 'gdlr_translate'), 'double' => __('Double', 'gdlr_translate'), 'dotted' => __('Dotted', 'gdlr_translate'), 'double-dotted' => __('Double Dotted', 'gdlr_translate'), 'thick' => __('Thick', 'gdlr_translate'))), 'size' => array('title' => __('Divider Width', 'gdlr_translate'), 'type' => 'text', 'description' => __('Specify the divider size. Ex. 50%, 200px', 'gdlr_translate')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-divider-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'feature-media' => array('title' => __('Feature Media', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('type' => array('title' => __('Media Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('image' => __('Image', 'gdlr_translate'), 'video' => __('Video', 'gdlr_translate'))), 'video-url' => array('title' => __('Video URL', 'gdlr_translate'), 'type' => 'text', 'wrapper-class' => 'type-wrapper video-wrapper'), 'image' => array('title' => __('Service Image', 'gdlr_translate'), 'type' => 'upload', 'button' => __('upload', 'gdlr_translate'), 'wrapper-class' => 'type-wrapper image-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'wrapper-class' => 'type-wrapper image-wrapper')), gdlr_page_builder_title_option(), array('align' => array('title' => __('Alignment', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('left' => __('Left', 'gdlr_translate'), 'center' => __('Center', 'gdlr_translate')), 'default' => 'left'), 'content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'tinymce'), 'button-text' => array('title' => __('Learn More Button Text', 'gdlr_translate'), 'type' => 'text', 'default' => __('Learn More', 'gdlr_translate')), 'button-link' => array('title' => __('Learn More Button Link', 'gdlr_translate'), 'type' => 'text'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'hotel-availability' => array(), 'icon-with-list' => array('title' => __('List With Icon', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('icon-with-list' => array('type' => 'icon-with-list', 'default-title' => __('Icon With List', 'gdlr_translate'))), gdlr_page_builder_title_option(), array('align' => array('title' => __('Text Align', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('left' => __('Left Aligned', 'gdlr_translate'), 'right' => __('Right Aligned', 'gdlr_translate'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'notification' => array('title' => __('Notification', 'gdlr_translate'), 'type' => 'item', 'options' => array('icon' => array('title' => __('Icon Class', 'gdlr_translate'), 'type' => 'text'), 'type' => array('title' => __('Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('color-background' => __('Color Background', 'gdlr_translate'), 'color-border' => __('Color Border', 'gdlr_translate'))), 'content' => array('title' => __('Content', 'gdlr_translate'), 'type' => 'textarea'), 'color' => array('title' => __('Text Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#000000'), 'background' => array('title' => __('Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#99d15e', 'wrapper-class' => 'type-wrapper color-background-wrapper'), 'border' => array('title' => __('Border Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#99d15e', 'wrapper-class' => 'type-wrapper color-border-wrapper'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'page' => array('title' => __('Page', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr_translate'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('page_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr_translate')), 'page-style' => array('title' => __('Item Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('classic' => __('Classic Style', 'gdlr_translate'), 'modern' => __('Modern Style', 'gdlr_translate'), 'hotel' => __('Hotel Style', 'gdlr_translate'))), 'item-size' => array('title' => __('Item Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1/4' => '1/4', '1/3' => '1/3', '1/2' => '1/2', '1/1' => '1/1'), 'default' => '1/3'), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr_translate'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of page you want to pull out.', 'gdlr_translate')), 'page-layout' => array('title' => __('Page Layout Order', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('fitRows' => __('FitRows ( Order items by row )', 'gdlr_translate'), 'masonry' => __('Masonry ( Order items by spaces )', 'gdlr_translate')), 'description' => __('You can see an example of these two layout here', 'gdlr_translate') . '<br><br> http://isotope.metafizzy.co/demos/layout-modes.html'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr_translate')), 'pagination' => array('title' => __('Enable Pagination', 'gdlr_translate'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'personnel' => array('title' => __('Personnel', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('personnel' => array('type' => 'authorinfo', 'default-title' => __('Personnel', 'gdlr_translate'))), gdlr_page_builder_title_option(), array('personnel-columns' => array('title' => __('Personnel Columns', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5'), 'default' => '3'), 'personnel-type' => array('title' => __('Personnel Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('static' => __('Static Personnel', 'gdlr_translate'), 'carousel' => __('Carousel Personnel', 'gdlr_translate'))), 'personnel-style' => array('title' => __('Personnel Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('box-style' => __('Box Style', 'gdlr_translate'), 'plain-style' => __('Plain Style', 'gdlr_translate'), 'round-style' => __('Round Style', 'gdlr_translate'))), 'thumbnail-size' => array('title' => __('Author Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'wrapper-class' => 'personnel-style-wrapper plain-style-wrapper round-style-wrapper'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'pie-chart' => array('title' => __('Pie Chart', 'gdlr_translate'), 'type' => 'item', 'options' => array('progress' => array('title' => __('Progress (Percent)', 'gdlr_translate'), 'type' => 'text', 'default' => '50', 'description' => __('Accept integer value between 0 - 100', 'gdlr_translate')), 'color' => array('title' => __('Progress Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#f5be3b'), 'bg-color' => array('title' => __('Progress Track Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#f2f2f2'), 'icon' => array('title' => __('Icon Class', 'gdlr_translate'), 'type' => 'text'), 'title' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'text'), 'learn-more-link' => array('title' => __('Learn More Link', 'gdlr_translate'), 'type' => 'text'), 'content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'tinymce'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'portfolio' => array(), 'price-table' => array('title' => __('Price Table', 'gdlr_translate'), 'type' => 'item', 'options' => array('price-table' => array('type' => 'price-table', 'default-title' => __('Price Table', 'gdlr_translate')), 'columns' => array('title' => __('Columns', 'gdlr_translate'), 'type' => 'combobox', 'options' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'default' => 3), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'room' => array(), 'service-with-image' => array('title' => __('Service With Image', 'gdlr_translate'), 'type' => 'item', 'options' => array('image' => array('title' => __('Service Image', 'gdlr_translate'), 'type' => 'upload', 'button' => __('upload', 'gdlr_translate')), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'align' => array('title' => __('Item Alignment', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('left' => __('Left Aligned', 'gdlr_translate'), 'right' => __('Right Aligned', 'gdlr_translate'))), 'title' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'text'), 'content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'tinymce'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'stunning-text' => array('title' => __('Stunning Text', 'gdlr_translate'), 'type' => 'item', 'options' => array('title' => array('title' => __('Stunning Text title', 'gdlr_translate'), 'type' => 'text'), 'caption' => array('title' => __('Stunning Text Caption', 'gdlr_translate'), 'type' => 'textarea'), 'button-text' => array('title' => __('Stunning Button Text', 'gdlr_translate'), 'type' => 'text', 'default' => __('Buy Now', 'gdlr_translate')), 'button-link' => array('title' => __('Stunning Button Link', 'gdlr_translate'), 'type' => 'text'), 'style' => array('title' => __('Stunning Text Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('normal' => __('Normal', 'gdlr_translate'), 'normal with-padding with-border' => __('Normal With Background', 'gdlr_translate'), 'center' => __('Center', 'gdlr_translate'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'skill-bar' => array('title' => __('Skill Bar', 'gdlr_translate'), 'type' => 'item', 'options' => array('content' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'text'), 'percent' => array('title' => __('Percent', 'gdlr_translate'), 'type' => 'text', 'default' => '0', 'description' => __('Fill only number here', 'gdlr_translate')), 'size' => array('title' => __('Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('small' => __('Small', 'gdlr_translate'), 'medium' => __('Medium', 'gdlr_translate'), 'large' => __('Large', 'gdlr_translate'))), 'icon' => array('title' => __('Icon Class', 'gdlr_translate'), 'type' => 'text', 'wrapper-class' => 'size-wrapper medium-wrapper large-wrapper'), 'text-color' => array('title' => __('Text Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff'), 'background-color' => array('title' => __('Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9'), 'progress-color' => array('title' => __('Progress Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#f5be3b'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'skill-item' => array('title' => __('Skill Item', 'gdlr_translate'), 'type' => 'item', 'options' => array('style' => array('title' => __('Item Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('normal' => __('Normal', 'gdlr_translate'), 'colored' => __('Color Background', 'gdlr_translate'))), 'background' => array('title' => __('Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#39dde3', 'wrapper-class' => 'style-wrapper colored-wrapper'), 'text-color' => array('title' => __('Text Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'wrapper-class' => 'style-wrapper colored-wrapper'), 'title' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'text'), 'caption' => array('title' => __('Caption', 'gdlr_translate'), 'type' => 'text'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'styled-box' => array('title' => __('Styled Box', 'gdlr_translate'), 'type' => 'item', 'options' => array('type' => array('title' => __('Background Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('color' => __('Color Background', 'gdlr_translate'), 'image' => __('Image Background', 'gdlr_translate'))), 'flip-corner' => array('title' => __('Flip Corner', 'gdlr_translate'), 'type' => 'checkbox', 'wrapper-class' => 'type-wrapper color-wrapper'), 'background-color' => array('title' => __('Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#9ada55', 'wrapper-class' => 'type-wrapper color-wrapper'), 'corner-color' => array('title' => __('Corner Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#3d6817', 'wrapper-class' => 'type-wrapper color-wrapper'), 'content-color' => array('title' => __('Content Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#dddddd'), 'background-image' => array('title' => __('Image URL', 'gdlr_translate'), 'type' => 'upload', 'button' => __('Upload', 'gdlr_translate'), 'wrapper-class' => 'type-wrapper image-wrapper'), 'content' => array('title' => __('Content', 'gdlr_translate'), 'type' => 'tinymce'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'testimonial' => array('title' => __('Testimonial', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('testimonial' => array('type' => 'authorinfo', 'enable-social' => 'false', 'default-title' => __('Testimonial', 'gdlr_translate'))), gdlr_page_builder_title_option(), array('testimonial-columns' => array('title' => __('Testimonial Columns', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5'), 'default' => '3'), 'testimonial-type' => array('title' => __('Testimonial Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('static' => __('Static Testimonial', 'gdlr_translate'), 'carousel' => __('Carousel Testimonial', 'gdlr_translate'))), 'testimonial-style' => array('title' => __('Testimonial Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('box-style' => __('Box Style', 'gdlr_translate'), 'round-style' => __('Round Style', 'gdlr_translate'), 'plain-style' => __('Plain Style', 'gdlr_translate'), 'large plain-style' => __('Large Plain Style', 'gdlr_translate'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'tab' => array('title' => __('Tab', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('tab' => array('type' => 'tab', 'default-title' => __('Tab', 'gdlr_translate')), 'initial-state' => array('title' => __('Initial Tab', 'gdlr_translate'), 'type' => 'text', 'default' => 1, 'description' => __('1 will open the first tab, 2 for second tab and so on.', 'gdlr_translate')), 'style' => array('title' => __('Tab Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('horizontal' => __('Horizontal Tab', 'gdlr_translate'), 'vertical' => __('Vertical Tab', 'gdlr_translate'), 'vertical right' => __('Vertical Right Tab', 'gdlr_translate')))), gdlr_page_builder_title_option(), array('margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'title' => array('title' => __('Title', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'toggle-box' => array('title' => __('Toggle Box', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('toggle-box' => array('type' => 'toggle-box', 'default-title' => __('Toggle Box', 'gdlr_translate'))), gdlr_page_builder_title_option(), array('style' => array('title' => __('Accordion Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('style-1' => __('Style 1 ( Colored Background )', 'gdlr_translate'), 'style-2' => __('Style 2 ( Transparent Background )', 'gdlr_translate'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))))), 'media-item' => array('title' => __('Media Item', 'gdlr_translate'), 'blank_option' => __('- Select Media Item -', 'gdlr_translate'), 'options' => array('banner' => array('title' => __('Banner', 'gdlr_translate'), 'type' => 'item', 'options' => array('slider' => array('overlay' => 'false', 'caption' => 'false', 'type' => 'slider'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'banner-columns' => array('title' => __('Banner Image Columns', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6'), 'default' => '4'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'gallery' => array('title' => __('Gallery', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(array('slider' => array('overlay' => 'false', 'caption' => 'false', 'type' => 'slider')), gdlr_page_builder_title_option(), array('thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'gallery-style' => array('title' => __('Gallery Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('grid' => __('Grid Gallery', 'gdlr_translate'), 'thumbnail' => __('Thumbnail Gallery', 'gdlr_translate'))), 'with-featured' => array('title' => __('With Featured', 'gdlr_translate'), 'type' => 'checkbox', 'wrapper-class' => 'gallery-style-wrapper grid-wrapper'), 'gallery-columns' => array('title' => __('Gallery Image Columns', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6'), 'default' => '4'), 'num-fetch' => array('title' => __('Num Fetch (Per Page)', 'gdlr_translate'), 'type' => 'text', 'description' => __('Leave this field blank to fetch all image without pagination.', 'gdlr_translate'), 'wrapper-class' => 'gallery-style-wrapper grid-wrapper'), 'show-caption' => array('title' => __('Show Caption', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('yes' => 'Yes', 'no' => 'No')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))), 'image-frame' => array('title' => __('Image / Frame', 'gdlr_translate'), 'type' => 'item', 'options' => array('image-id' => array('title' => __('Upload Image', 'gdlr_translate'), 'type' => 'upload', 'button' => __('Upload', 'gdlr_translate')), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'link-type' => array('title' => __('Image Link', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('none' => __('None', 'gdlr_translate'), 'url' => __('Link to Url', 'gdlr_translate'), 'current' => __('Lightbox to Current Image', 'gdlr_translate'), 'image' => __('Lightbox to Image', 'gdlr_translate'), 'video' => __('Lightbox to Video', 'gdlr_translate'))), 'url' => array('title' => __('URL', 'gdlr_translate'), 'type' => 'text', 'wrapper-class' => 'link-type-wrapper image-wrapper video-wrapper url-wrapper'), 'frame-type' => array('title' => __('Frame Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('none' => __('none', 'gdlr_translate'), 'border' => __('Border', 'gdlr_translate'), 'solid' => __('Solid', 'gdlr_translate'), 'rounded' => __('Round', 'gdlr_translate'), 'circle' => __('Circle', 'gdlr_translate'))), 'frame-background' => array('title' => __('Frame Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#dddddd', 'wrapper-class' => 'frame-type-wrapper solid-wrapper'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'layer-slider' => array('title' => __('Layer Slider', 'gdlr_translate'), 'type' => 'item', 'options' => array('id' => array('title' => __('Slider Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_layerslider_list(), 'description' => __('Please update layerslider to latest version to make this item work properly too', 'gdlr_translate')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'master-slider' => array('title' => __('Master Slider', 'gdlr_translate'), 'type' => 'item', 'options' => array('id' => array('title' => __('Slider Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_masterslider_list(), 'description' => __('Please update layerslider to latest version to make this item work properly too', 'gdlr_translate')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'post-slider' => array('title' => __('Post Slider', 'gdlr_translate'), 'type' => 'item', 'options' => array('category' => array('title' => __('Category', 'gdlr_translate'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr_translate')), 'num-excerpt' => array('title' => __('Num Excerpt (Word)', 'gdlr_translate'), 'type' => 'text', 'default' => '25', 'description' => __('This is a number of word (decided by spaces) that you want to show on the post excerpt. <strong>Use 0 to hide the excerpt, -1 to show full posts and use the wordpress more tag</strong>.', 'gdlr_translate')), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr_translate'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of posts you want to pull out.', 'gdlr_translate')), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'style' => array('title' => __('Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('no-excerpt' => __('No Excerpt', 'gdlr_translate'), 'with-excerpt' => __('With Excerpt', 'gdlr_translate'))), 'caption-style' => array('title' => __('Caption Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('post-bottom post-slider' => __('Bottom Caption', 'gdlr_translate'), 'post-right post-slider' => __('Right Caption', 'gdlr_translate'), 'post-left post-slider' => __('Left Caption', 'gdlr_translate')), 'wrapper-class' => 'style-wrapper with-excerpt-wrapper'), 'orderby' => array('title' => __('Order By', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr_translate'), 'title' => __('Title', 'gdlr_translate'), 'rand' => __('Random', 'gdlr_translate'))), 'order' => array('title' => __('Order', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr_translate'), 'asc' => __('Ascending Order', 'gdlr_translate'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'slider' => array('title' => __('Slider', 'gdlr_translate'), 'type' => 'item', 'options' => array('slider' => array('overlay' => 'false', 'caption' => 'true', 'type' => 'slider'), 'slider-type' => array('title' => __('Slider Type', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('flexslider' => __('Flex slider', 'gdlr_translate'), 'nivoslider' => __('Nivo Slider', 'gdlr_translate'))), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate')))), 'video' => array('title' => __('Video', 'gdlr_translate'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(), array('url' => array('title' => __('Video Url', 'gdlr_translate'), 'type' => 'text', 'descirption' => __('Youtube / Vimeo / Self Hosted Video Is allowed Here', 'gdlr_translate')), 'content-title' => array('title' => __('Title Text', 'gdlr_translate'), 'type' => 'text'), 'content' => array('title' => __('Content Text', 'gdlr_translate'), 'type' => 'textarea'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr_translate'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr_translate'))))))))));
 }
 function gdlr_register_portfolio_item($page_builder = array())
 {
     global $gdlr_spaces;
     $page_builder['content-item']['options']['portfolio'] = array('title' => __('Portfolio', 'gdlr-portfolio'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-portfolio'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('portfolio_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-portfolio')), 'tag' => array('title' => __('Tag', 'gdlr-portfolio'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('portfolio_tag'), 'description' => __('Will be ignored when the portfolio filter option is enabled.', 'gdlr-portfolio')), 'portfolio-style' => array('title' => __('Portfolio Style', 'gdlr-portfolio'), 'type' => 'combobox', 'options' => array('classic-portfolio' => __('Classic Style', 'gdlr-portfolio'), 'classic-portfolio-no-space' => __('Classic No Space Style', 'gdlr-portfolio'), 'modern-portfolio' => __('Modern Style', 'gdlr-portfolio'), 'modern-portfolio-no-space' => __('Modern No Space Style', 'gdlr-portfolio'))), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-portfolio'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of portfolios you want to pull out.', 'gdlr-portfolio')), 'num-excerpt' => array('title' => __('Num Excerpt', 'gdlr-portfolio'), 'type' => 'text', 'default' => '20', 'wrapper-class' => 'portfolio-style-wrapper classic-portfolio-wrapper classic-portfolio-no-space-wrapper'), 'portfolio-size' => array('title' => __('Portfolio Size', 'gdlr-portfolio'), 'type' => 'combobox', 'options' => array('1/4' => '1/4', '1/3' => '1/3', '1/2' => '1/2', '1/1' => '1/1'), 'default' => '1/3'), 'portfolio-layout' => array('title' => __('Portfolio Layout Order', 'gdlr-portfolio'), 'type' => 'combobox', 'options' => array('fitRows' => __('FitRows ( Order items by row )', 'gdlr-portfolio'), 'masonry' => __('Masonry ( Order items by spaces )', 'gdlr-portfolio'), 'carousel' => __('Carousel ( Only For Grid And Modern Style )', 'gdlr-portfolio')), 'description' => __('You can see an example of these two layout here', 'gdlr-portfolio') . '<br><br> http://isotope.metafizzy.co/demos/layout-modes.html'), 'portfolio-filter' => array('title' => __('Enable Portfolio filter', 'gdlr-portfolio'), 'type' => 'checkbox', 'default' => 'disable', 'description' => __('*** You have to select only 1 ( or none ) portfolio category when enable this option', 'gdlr-portfolio')), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-portfolio'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-portfolio')), 'orderby' => array('title' => __('Order By', 'gdlr-portfolio'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-portfolio'), 'title' => __('Title', 'gdlr-portfolio'), 'rand' => __('Random', 'gdlr-portfolio'))), 'order' => array('title' => __('Order', 'gdlr-portfolio'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-portfolio'), 'asc' => __('Ascending Order', 'gdlr-portfolio'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-portfolio'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-portfolio'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-portfolio')))));
     return $page_builder;
 }
function gdlr_register_league_table_item($page_builder = array())
{
    global $gdlr_spaces;
    $page_builder['content-item']['options']['league-table'] = array('title' => __('League Table', 'gdlr-soccer'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-soccer'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('league_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-portfolio')), 'style' => array('title' => __('Table Style', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('full' => __('Full', 'gdlr-soccer'), 'summary' => __('Summary', 'gdlr-soccer')), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-portfolio')), 'num-display' => array('title' => __('Display Number', 'gdlr-soccer'), 'type' => 'text', 'default' => 8, 'wrapper-class' => 'style-wrapper summary-wrapper'), 'button-text' => array('title' => __('View Full Table Text', 'gdlr-soccer'), 'type' => 'text', 'default' => __('View Full Table', 'gdlr-soccer'), 'wrapper-class' => 'style-wrapper summary-wrapper'), 'button-link' => array('title' => __('View Full Table Link', 'gdlr-soccer'), 'type' => 'text', 'wrapper-class' => 'style-wrapper summary-wrapper'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-soccer'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-soccer')))));
    return $page_builder;
}
function gdlr_register_player_item($page_builder = array())
{
    global $gdlr_spaces;
    $page_builder['content-item']['options']['player'] = array('title' => __('Player', 'gdlr-soccer'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-soccer'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('player_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-soccer')), 'player-style' => array('title' => __('Player Style', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('classic' => __('Classic Style', 'gdlr-soccer'), 'modern' => __('Modern Style', 'gdlr-soccer'))), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-soccer'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of player items you want to pull out.', 'gdlr-soccer')), 'player-size' => array('title' => __('Player Item Size', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('4' => '1/4', '3' => '1/3', '2' => '1/2', '1' => '1/1'), 'default' => '1/3'), 'player-layout' => array('title' => __('Player Layout Order', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('fitRows' => __('FitRows ( Order items by row )', 'gdlr-soccer'), 'carousel' => __('Carousel ( Only For Grid And Modern Style )', 'gdlr-soccer'))), 'player-filter' => array('title' => __('Enable Player Filter', 'gdlr-soccer'), 'type' => 'checkbox', 'default' => 'disable', 'description' => __('*** You have to select only 1 ( or none ) player category when enable this option', 'gdlr-soccer')), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-soccer'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-soccer')), 'orderby' => array('title' => __('Order By', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-soccer'), 'title' => __('Title', 'gdlr-soccer'), 'rand' => __('Random', 'gdlr-soccer'))), 'order' => array('title' => __('Order', 'gdlr-soccer'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-soccer'), 'asc' => __('Ascending Order', 'gdlr-soccer'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-soccer'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-soccer'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-soccer')))));
    return $page_builder;
}
function gdlr_register_ticket_item($page_builder = array())
{
    global $gdlr_spaces;
    $page_builder['content-item']['options']['ticket'] = array('title' => __('Ticket', 'gdlr-conference'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-conference'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('ticket_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-conference')), 'ticket-size' => array('title' => __('Ticket Item Size', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('4' => '1/4', '3' => '1/3', '2' => '1/2', '1' => '1/1'), 'default' => '3'), 'orderby' => array('title' => __('Order By', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-conference'), 'title' => __('Title', 'gdlr-conference'), 'rand' => __('Random', 'gdlr-conference'))), 'order' => array('title' => __('Order', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-conference'), 'asc' => __('Ascending Order', 'gdlr-conference'))), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-conference'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-conference')))));
    return $page_builder;
}
function gdlr_register_speaker_item($page_builder = array())
{
    global $gdlr_spaces;
    $page_builder['content-item']['options']['speaker'] = array('title' => __('Speaker', 'gdlr-conference'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('category' => array('title' => __('Category', 'gdlr-conference'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('speaker_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-conference')), 'speaker-style' => array('title' => __('Speaker Style', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('round' => __('Round Thumbnail Style', 'gdlr-conference'), 'circle' => __('Circle Thumbnail Style', 'gdlr-conference'))), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-conference'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of speaker items you want to pull out.', 'gdlr-conference')), 'speaker-size' => array('title' => __('Speaker Item Size', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('4' => '1/4', '3' => '1/3', '2' => '1/2', '1' => '1/1'), 'default' => '1/3'), 'speaker-layout' => array('title' => __('Speaker Layout Order', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('fitRows' => __('FitRows ( Order items by row )', 'gdlr-conference'), 'carousel' => __('Carousel', 'gdlr-conference'))), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-conference'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'orderby' => array('title' => __('Order By', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-conference'), 'title' => __('Title', 'gdlr-conference'), 'rand' => __('Random', 'gdlr-conference'))), 'order' => array('title' => __('Order', 'gdlr-conference'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-conference'), 'asc' => __('Ascending Order', 'gdlr-conference'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-conference'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-conference'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-conference')))));
    return $page_builder;
}