function gdlr_tabs_shortcode($atts, $content = null)
{
    extract(shortcode_atts(array('style' => 'horizontal', 'initial' => '1'), $atts));
    global $gdlr_shortcode_tabs;
    $gdlr_shortcode_tabs = array();
    $settings = array();
    do_shortcode($content);
    $settings['style'] = $style;
    $settings['initial-state'] = $initial;
    $settings['tab'] = $gdlr_shortcode_tabs;
    if (function_exists('gdlr_get_tab_item')) {
        return '<div class="gdlr-shortcode-wrapper">' . gdlr_get_tab_item($settings) . '</div>';
    }
    return '';
}
 function gdlr_print_item($content)
 {
     switch ($content['type']) {
         case 'accordion':
             echo gdlr_get_accordion_item($content['option']);
             break;
         case 'banner':
             echo gdlr_get_banner_item($content['option']);
             break;
         case 'toggle-box':
             echo gdlr_get_toggle_box_item($content['option']);
             break;
         case 'blog':
             echo gdlr_get_blog_item($content['option']);
             break;
         case 'box-icon-item':
             echo gdlr_get_box_icon_item($content['option']);
             break;
         case 'feature-media':
             echo gdlr_get_feature_media_item($content['option']);
             break;
         case 'column-service':
             echo gdlr_get_column_service_item($content['option']);
             break;
         case 'service-with-image':
             echo gdlr_get_service_with_image_item($content['option']);
             break;
         case 'content':
             echo gdlr_get_content_item($content['option']);
             break;
         case 'divider':
             echo gdlr_get_divider_item($content['option']);
             break;
         case 'gallery':
             echo gdlr_get_gallery_item($content['option']);
             break;
         case 'icon-with-list':
             echo gdlr_get_list_with_icon_item($content['option']);
             break;
         case 'image-frame':
             echo gdlr_get_image_frame_item($content['option']);
             break;
         case 'notification':
             echo gdlr_get_notification_item($content['option']);
             break;
         case 'price-table':
             echo gdlr_get_price_table_item($content['option']);
             break;
         case 'personnel':
             echo gdlr_get_personnel_item($content['option']);
             break;
         case 'pie-chart':
             echo gdlr_get_pie_chart_item($content['option']);
             break;
         case 'slider':
             echo gdlr_get_slider_item($content['option']);
             break;
         case 'page':
             echo gdlr_get_page_list_item($content['option']);
             break;
         case 'post-slider':
             echo gdlr_get_post_slider_item($content['option']);
             break;
         case 'skill-bar':
             echo gdlr_get_skill_bar_item($content['option']);
             break;
         case 'skill-item':
             echo gdlr_get_skill_item($content['option']);
             break;
         case 'stunning-text':
             echo gdlr_get_stunning_text_item($content['option']);
             break;
         case 'styled-box':
             echo gdlr_get_styled_box_item($content['option']);
             break;
         case 'tab':
             echo gdlr_get_tab_item($content['option']);
             break;
         case 'title':
             echo gdlr_get_title_item($content['option']);
             break;
         case 'testimonial':
             echo gdlr_get_testimonial_item($content['option']);
             break;
         case 'video':
             echo gdlr_get_video_item($content['option']);
             break;
         default:
             do_action('gdlr_print_item_selector', $content['type'], $content['option']);
             break;
     }
 }