stuart-d
4/19/2016 - 3:06 PM

gistfile1.txt

// Add Slider conditionally to the header only for the front page
add_action ( 'woo_content_before', 'marce_front_page_slider' );

function marce_front_page_slider() {
	if ( is_home() || is_front_page() ) {
		echo do_shortcode( '[wooslider slider_type="slides" thumbnails="default" order="DESC" order_by="date"]' );
	}
}