public static function tab($atts, $content = null) { extract(shortcode_atts(array('title' => ''), $atts)); self::$tabsCounters = self::$tabsCounters > 0 ? (int) self::$tabsCounters : 0; self::$tabsCounters++; self::$tabsTitles[self::$tabsCounters] = $title; $output = '<div class="tab-pane' . (self::$tabsActive === true ? ' active' : '') . '" id="tab' . self::$tabsCounters . '"><p>' . do_shortcode($content) . '</p></div>'; self::$tabsActive = false; return $output; }
</div> </div> </div> </section> <?php if (class_exists('ProdoShortcodes')) { ?> <section class="section offsetTop"> <div class="container"> <h2><?php _e('Favorite Projects', 'prodo'); ?> </h2> <?php echo ProdoShortcodes::portfolio(array()); ?> </div> </section> <div> <div class="section offsetTop offsetBottomL" id="portfolio-details"></div> </div> <?php } else { ?> <section class="section offsetTopS offsetBottom"> <div class="container"> <div class="row"> <div class="col-md-12"> <?php get_template_part('templates/no-content');