</div><!-- .widget-area --> <?php } ?> </div> </div> <?php } ?> </div> <!-- .site --> <div class="main-slider"> <?php logo_slider(); ?> </div> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info"> <?php if (is_active_sidebar('footer-widget-1') or is_active_sidebar('footer-widget-2') or is_active_sidebar('footer-widget-3')) { ?> <?php if (is_active_sidebar('footer-widget-1')) { ?> <?php dynamic_sidebar('footer-widget-1'); ?> <?php
function wp_slider_shortcode($atts) { // Temp solution, output buffer the echo function. ob_start(); logo_slider(); $output = ob_get_clean(); return $output; }